Re: postgresql rookie needs help with system catalog

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: barry kimelman <perlmaster56(at)gmail(dot)com>
Cc: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Re: postgresql rookie needs help with system catalog
Date: 2020-01-22 15:33:33
Message-ID: 7578.1579707213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

barry kimelman <perlmaster56(at)gmail(dot)com> writes:
> I am trying to come up with a query of the system catalog tables to give me
> the same info as the psql command "\d tablename"

A useful trick here is to start psql with the -E option, which will
cause it to echo the actual queries it sends for backslash commands.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Keith Fiske 2020-01-22 15:34:58 Re: postgresql rookie needs help with system catalog
Previous Message Vianello, Dan A 2020-01-22 15:05:29 RE: postgresql rookie needs help with system catalog