Re: Query prepared plan - Mailing list pgsql-sql

From Emi Lu
Subject Re: Query prepared plan
Date
Msg-id 4889E2E1.5030708@encs.concordia.ca
Whole thread Raw
In response to Query prepared plan  (Emi Lu <emilu@encs.concordia.ca>)
Responses Re: Query prepared plan  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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!







pgsql-sql by date:

Previous
From: Milan Oparnica
Date:
Subject: Re: PERSISTANT PREPARE (another point of view)
Next
From: "Igor Neyman"
Date:
Subject: Re: A table with two names or table alias