Обсуждение: ste application name for psql command line query

Поиск
Список
Период
Сортировка

ste application name for psql command line query

От
Ahmed MARFOUK
Дата:
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

Re: ste application name for psql command line query

От
Juan José Santamaría Flecha
Дата:

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:


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

Re: ste application name for psql command line query

От
Ahmed MARFOUK
Дата:
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 :

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:


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