Re: Query prepared plan

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Query prepared plan
Date: 2008-07-25 14:27:45
Message-ID: 4889E2E1.5030708@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


> Good morning,
>
> May I know the "commands" to
> . show current session's prepared plans
> . see the definition of a prepared plan
>
> E.g., psql> PREPARE fooplan (int, text, bool, numeric) AS INSERT INTO
> foo VALUES($1, $2, $3, $4);
>
> (1) Similar to "\dt", I want to see "fooplan"
> (2) Similar to "\d tableName", how to see the plan def?

Somebody know about how to find prepared query plan through command line?

Thanks a lot!

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Igor Neyman 2008-07-25 15:25:53 Re: A table with two names or table alias
Previous Message Milan Oparnica 2008-07-25 12:58:34 Re: PERSISTANT PREPARE (another point of view)