PostgreSQL Error: Relation already exists

后端 未结 8 1817
暖寄归人
暖寄归人 2020-12-05 12:37

I am trying to create a table that was dropped previously.

But when I do the CREATE TABLE A ... I am getting below error:

Rela

8条回答
  •  無奈伤痛
    2020-12-05 13:14

    Another reason why you might get errors like "relation already exists" is if the DROP command did not execute correctly.

    One reason this can happen is if there are other sessions connected to the database which you need to close first.

提交回复
热议问题