| From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
|---|---|
| To: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
| Cc: | Geoffrey <lists(at)serioustechnology(dot)com>, "PostgreSQL List" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: what is it that \d actually does |
| Date: | 2008-01-28 03:59:28 |
| Message-ID: | b42b73150801271959g4b7e5489g33632a56aa8afaf9@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Jan 25, 2008 2:41 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> On Jan 25, 2008 1:34 PM, Geoffrey <lists(at)serioustechnology(dot)com> wrote:
> > It seems that I recall there is a way to display the actual select
> > statement that is executed when you execute the \d command.
>
> psql --help says:
>
> -E display queries that internal commands generate
also, you can log statements to the server with log_statement. psql
-E is probably better though.
merlin
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Premsun Choltanwanich | 2008-01-28 07:18:16 | Slow Query problem |
| Previous Message | Ow Mun Heng | 2008-01-28 03:16:11 | Re: [OT] Slony Triggers pulling down performance? |