4

I want to use something like Mysql command to show me the structure of postgres tables in a database, Is there a way for it? I main goal is to create an exact copy of the table in another database with postgres sql.

I tries /d+ command, but got the following error:

ERROR:  syntax error at or near "\"
LINE 1: \d

My OS is windows XP SP3.
I've read the following post but gain no success:
postgres question about descibe table

EDIT: \d+ command output on windows :

ERROR:  syntax error at or near "\"
LINE 1: \d+
Community
  • 1
  • 1
Alireza
  • 6,497
  • 13
  • 59
  • 132

0 Answers0