Postgres 9.3.2 auf heroku.Postgres drop table Syntaxfehler
Ziemlich sicher, ich bin nur ein Idiot, aber ich kann nicht herausfinden, warum meine Syntax falsch ist.
db=> \dt
List of relations
Schema | Name | Type | Owner
--------+------------+-------+----------------
public | device | table | admin
public | post | table | admin
public | user | table | admin
(3 rows)
// why does this fail?
db=> drop table user;
ERROR: syntax error at or near "user"
LINE 1: drop table user;
// does the right thing
db=> drop table error;
ERROR: table "error" does not exist
Danke. Wusste ich nicht. Wird in 12 Minuten akzeptiert. – Derek