Display the Structure of PostgreSQL/PgSQL Table Fields


From within the psql monitor, issue the following command to view the structure of the table named ‘elephants’:

\d elephants

The Conversation

Follow the reactions below and share your own thoughts.

  • Jassi Paramjit

    Thanks Sir, I really need this coomand