pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ste application name for psql command line query
3+ messages / 2 participants
[nested] [flat]

* ste application name for psql command line query
@ 2019-06-03 15:22  Ahmed MARFOUK <marfouk.inforisk@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Ahmed MARFOUK @ 2019-06-03 15:22 UTC (permalink / raw)
  To: pgsql-bugs

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ste application name for psql command line query
@ 2019-06-03 16:29  Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
  parent: Ahmed MARFOUK <marfouk.inforisk@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Juan José Santamaría Flecha @ 2019-06-03 16:29 UTC (permalink / raw)
  To: Ahmed MARFOUK <marfouk.inforisk@gmail.com>; +Cc: pgsql-bugs

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ste application name for psql command line query
@ 2019-06-03 19:06  Ahmed MARFOUK <marfouk.inforisk@gmail.com>
  parent: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Ahmed MARFOUK @ 2019-06-03 19:06 UTC (permalink / raw)
  To: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>; +Cc: pgsql-bugs

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:
>
> 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
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-06-03 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 15:22 ste application name for psql command line query Ahmed MARFOUK <marfouk.inforisk@gmail.com>
2019-06-03 16:29 ` Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
2019-06-03 19:06   ` Ahmed MARFOUK <marfouk.inforisk@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox