public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: barry kimelman <[email protected]>
Cc: [email protected]
Subject: Re: postgresql rookie needs help with system catalog
Date: Wed, 22 Jan 2020 10:33:33 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAEOpmvoj8itCG-c9fOABreWZ1YjJL-Zp-Ern5=SzCxfihhiBkw@mail.gmail.com>
References: <CAEOpmvoj8itCG-c9fOABreWZ1YjJL-Zp-Ern5=SzCxfihhiBkw@mail.gmail.com>
barry kimelman <[email protected]> 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
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: postgresql rookie needs help with system catalog
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox