Re: Query prepared plan

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Query prepared plan
Date: 2008-07-28 19:02:22
Message-ID: 488E17BE.9000107@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane wrote:
> Emi Lu <emilu(at)encs(dot)concordia(dot)ca> writes:
>> Somebody know about how to find prepared query plan through command line?
>
> PREPARE fooplan(...)
> EXPLAIN EXECUTE fooplan(...)
>
Thank you Tom.

Similar to \dt to show all tables, within one session, may I know the
command to list all prepared query plan please?

For example,
[1]\dX
show all defined prepared query plan
[2]\dX planName
show the definition of the named plan.

Thanks a lot!

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Milan Oparnica 2008-07-28 21:21:50 Re: PERSISTANT PREPARE (another point of view)
Previous Message Andrej Ricnik-Bay 2008-07-28 18:26:05 Re: Encrytion in postgres field in table