Quantcast
Channel: alvinalexander.com - postgres
Viewing all articles
Browse latest Browse all 15

How to show Postgres table information

$
0
0

Here you want to use the "describe" command in Postgresql. Assuming that you want to get information about a database table named users, and you're logged into a Postgresql database using the psql client, issue this command at the psql prompt:

\d users

This will provide a description of the table named users. Your output from this command should look like this:

read more


Viewing all articles
Browse latest Browse all 15

Trending Articles