]> granicus.if.org Git - postgresql/commit
Mark application_name as GUC_REPORT so that the value will be reported back
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Dec 2009 04:54:10 +0000 (04:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Dec 2009 04:54:10 +0000 (04:54 +0000)
commit59ed94ad0c9f74a3f057f359316c845cedc4461e
tree0f52806e51b9741b5b95d7f0a45aa24c7b5a0c7e
parent3dfcf8cc15aeae3d30a0470b7d6bd5d4d462805d
Mark application_name as GUC_REPORT so that the value will be reported back
to the client by the server.  This might seem pretty pointless but apparently
it will help pgbouncer, and perhaps other connection poolers.  Anyway it's
practically free to do so for the normal use-case where appname is only set
in the startup packet --- we're just adding a few more bytes to the initial
ParameterStatus response packet.  Per comments from Marko Kreen.
doc/src/sgml/libpq.sgml
doc/src/sgml/protocol.sgml
src/backend/utils/misc/guc.c