proposal: option --application_name for psql - Mailing list pgsql-hackers

From Pavel Stehule
Subject proposal: option --application_name for psql
Date
Msg-id CAFj8pRCS8s0egksPxvn-kFOsMKJkTq2y6u6-dPHADxX8MQYWJg@mail.gmail.com
Whole thread Raw
Responses Re: proposal: option --application_name for psql  ("Erik Rijkers" <er@xs4all.nl>)
List pgsql-hackers
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) fix psql to respect PGAPPNAME

2) enhance --application_name parameter


Options, ideas, comments ?

Regards

Pavel



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Slicing TOAST
Next
From: Thom Brown
Date:
Subject: Re: Differential (transactional) REFRESH