Postgres drop table syntax error

后端 未结 2 1595
长发绾君心
长发绾君心 2020-12-18 19:37

Postgres 9.3.2 on heroku.

Pretty sure I\'m just being an idiot, but I can\'t seem to figure out why my syntax is wrong.

db=> \\dt
              Li         


        
2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-18 20:33

    I had the same error. My database name was very unique and not a reserved keyword. Still needed to wrap the database name with quotation marks

    ""

    Also for those that might forget always add a semicolon ; at the end of the statement, I always forget.

提交回复
热议问题