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