Re: [HACKERS] proposal: option --application_name for psql

2013-05-15 Thread Pavel Stehule
2013/5/14 Pavel Stehule pavel.steh...@gmail.com: 2013/5/14 Magnus Hagander mag...@hagander.net: On Tue, May 14, 2013 at 9:36 PM, Pavel Stehule pavel.steh...@gmail.com wrote: 2013/5/14 Magnus Hagander mag...@hagander.net: psql in connection string mode Hi Magnus, can me send some link?

[HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Pavel Stehule
Hello we like to use psql in combination with bash - just like postgresql driver. Actually there is no simple possibility (from command line) to set application_name. We would to use different name than psql - for example splunk, ... I tested PGAPPNAME, but it doesn't work. so my propose: 1)

Re: [HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Erik Rijkers
On Tue, May 14, 2013 21:04, Pavel Stehule wrote: Hello we like to use psql in combination with bash - just like postgresql driver. Actually there is no simple possibility (from command line) to set application_name. We would to use different name than psql - for example splunk, ... I

Re: [HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Pavel Stehule
2013/5/14 Erik Rijkers e...@xs4all.nl: On Tue, May 14, 2013 21:04, Pavel Stehule wrote: Hello we like to use psql in combination with bash - just like postgresql driver. Actually there is no simple possibility (from command line) to set application_name. We would to use different name than

Re: [HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Magnus Hagander
On Tue, May 14, 2013 at 9:25 PM, Pavel Stehule pavel.steh...@gmail.com wrote: 2013/5/14 Erik Rijkers e...@xs4all.nl: On Tue, May 14, 2013 21:04, Pavel Stehule wrote: Hello we like to use psql in combination with bash - just like postgresql driver. Actually there is no simple possibility

Re: [HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Pavel Stehule
2013/5/14 Magnus Hagander mag...@hagander.net: psql in connection string mode Hi Magnus, can me send some link? Thank you Pavel -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Magnus Hagander
On Tue, May 14, 2013 at 9:36 PM, Pavel Stehule pavel.steh...@gmail.com wrote: 2013/5/14 Magnus Hagander mag...@hagander.net: psql in connection string mode Hi Magnus, can me send some link? http://www.postgresql.org/docs/9.2/static/app-psql.html If this parameter contains an = sign or starts

Re: [HACKERS] proposal: option --application_name for psql

2013-05-14 Thread Pavel Stehule
2013/5/14 Magnus Hagander mag...@hagander.net: On Tue, May 14, 2013 at 9:36 PM, Pavel Stehule pavel.steh...@gmail.com wrote: 2013/5/14 Magnus Hagander mag...@hagander.net: psql in connection string mode Hi Magnus, can me send some link?