ste application name for psql command line query
Hi,
Is there a way to set application name to querey with psql command line.
i have a several script shell with psql comman line query and i want to
identify each of them.
Thankx in advance
On Mon, Jun 3, 2019 at 6:05 PM Ahmed MARFOUK <marfouk.inforisk@gmail.com>
wrote:
Is there a way to set application name to querey with psql command line.
You can customize the psql prompt:
https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-PROMPTING
The pgsql-admin list is a better fit for questions like this, so please
move the thread there if you need any further assistance.
Regards,
Juan José Santamaría Flecha
Hi Juan José,
Thanks a lot, that's exactly what im looking for.
Thanks
Le lun. 3 juin 2019 à 16:29, Juan José Santamaría Flecha <
juanjo.santamaria@gmail.com> a écrit :
Show quoted text
On Mon, Jun 3, 2019 at 6:05 PM Ahmed MARFOUK <marfouk.inforisk@gmail.com>
wrote:Is there a way to set application name to querey with psql command line.
You can customize the psql prompt:
https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-PROMPTING
The pgsql-admin list is a better fit for questions like this, so please
move the thread there if you need any further assistance.Regards,
Juan José Santamaría Flecha