New answers tagged prepared-statement
The generic plan is stored in the in-memory plan cache of the back-end that created the plan. See doxygen for plancache.c or the source. Plans are not written to disk or read from disk, and are not shared between different backends (therefore, different sessions/connections). The documentation should really read: if a prepared statement is executed ...
Top 50 recent answers are included