Re: Learning Plpgsql ?? - Mailing list pgsql-novice

From Jonathon Batson
Subject Re: Learning Plpgsql ??
Date
Msg-id 3E370B35.6020900@octahedron.com.au
Whole thread Raw
In response to Re: Learning Plpgsql ??  (Steve_Miller@sil.org)
List pgsql-novice
Taken from Postgres 7.3 Docs

19.5.4. Executing dynamic queries

"Unlike all other queries in PL/pgSQL, a query run by an EXECUTE statement is not prepared and saved just once during the life of the server. Instead, the query is prepared each time the statement is run."


To me this means that 'yes' a new execution plan is produced each time.
 

pgsql-novice by date:

Previous
From: David Nicely
Date:
Subject: Re: New and investigating
Next
From: "Sumaira Ali"
Date:
Subject: JDBC