On 11/13/2014 09:48 PM, Heikki Linnakangas wrote:
>>
>
> You can also put that in the ConnSettings datasource option. That will
> make the driver to execute that for you, just after establishing the
> connection, before handing the connection to the application.
It'd be nice to allow the user to specify additional values for the
startup packet, so application_name etc could be sent without an extra
round-trip.
That falls into the "patches are welcome" category though, I think.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services