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)
commit56ad5c76b2270eb17052ffc491fb82e6ee8935d2
treecd3c12e15a1da310e93ac10aee34030f8acf3dfa
parent3e9f1e4d17d6d49a112ce4de4f47ef0ee5e73adb
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