OSDN Git Service

Now bind displays prepare as detail, and execute displays prepare and
authorBruce Momjian <bruce@momjian.us>
Tue, 29 Aug 2006 02:11:30 +0000 (02:11 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 29 Aug 2006 02:11:30 +0000 (02:11 +0000)
commitbc24d5b97673c365f19be21f83acca3c184cf1a7
treee1affd83d565c2db27c0a48c368e9fe210baf9a4
parent216bb6662a7bd9a437cedb41b153f68e61c464dc
Now bind displays prepare as detail, and execute displays prepare and
optionally bind.  I re-added the "statement:" label so people will
understand why the line is being printed (it is log_*statement
behavior).

Use single quotes for bind values, instead of double quotes, and double
literal single quotes in bind values (and document that).  I also made
use of the DETAIL line to have much cleaner output.
doc/src/sgml/config.sgml
src/backend/commands/portalcmds.c
src/backend/commands/prepare.c
src/backend/executor/spi.c
src/backend/tcop/postgres.c
src/backend/utils/mmgr/portalmem.c
src/include/utils/portal.h