Include a pointer to the query's source text in QueryDesc structs. This is

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bbeb0bbf6b3e5fdb7cff1a87885f43139ace5c4b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-01-02T20:42:00Z
Releases: 8.4.0
Include a pointer to the query's source text in QueryDesc structs.  This is
practically free given prior 8.4 changes in plancache and portal management,
and it makes it a lot easier for ExecutorStart/Run/End hooks to get at the
query text.  Extracted from Itagaki Takahiro's pg_stat_statements patch,
with minor editorialization.

Files