pgsql: Have current_query() use ActivePortal->sourceText rather than

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Have current_query() use ActivePortal->sourceText rather than
Date: 2009-01-07 21:48:16
Message-ID: 20090107214816.0EB5E754A1B@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Have current_query() use ActivePortal->sourceText rather than
debug_query_string; this allows current_query() to be more accurate;
docs updated; per idea from Tom

Modified Files:
--------------
pgsql/doc/src/sgml:
func.sgml (r1.465 -> r1.466)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.465&r2=1.466)
pgsql/src/backend/utils/adt:
misc.c (r1.68 -> r1.69)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/misc.c?r1=1.68&r2=1.69)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2009-01-07 21:48:17 Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the
Previous Message Tom Lane 2009-01-07 20:39:15 pgsql: Insert conditional SPI_push/SPI_pop calls into InputFunctionCall,