pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedApplication Name
6+ messages / 5 participants
[nested] [flat]
* Application Name
@ 2012-09-24 19:15 George Weaver <gweaver@shaw.ca>
0 siblings, 0 replies; 6+ messages in thread
From: George Weaver @ 2012-09-24 19:15 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I don't see the option to specify application name in the list at http://psqlodbc.projects.postgresql.org/config-opt.html.
Is this something that will eventually be possible?
Thanks,
George
^ permalink raw reply [nested|flat] 6+ messages in thread
* Application Name
@ 2012-09-25 13:35 George Weaver <gweaver@shaw.ca>
0 siblings, 0 replies; 6+ messages in thread
From: George Weaver @ 2012-09-25 13:35 UTC (permalink / raw)
To: pgsql-odbc
Thanks Jon,
My interest is doing it via an ODBC connection where I can specify different parts of an application for debugging purposes.
George
----- Original Message -----
From: Raiford@labware.com
To: George Weaver
Sent: Monday, September 24, 2012 4:38 PM
Subject: Re: [ODBC] Application Name
The application name is actually set using a SQL statement:
set application_name = 'My Application'
I believe this has been possible since Postgres 8.5
Jon
pgsql-odbc-owner@postgresql.org wrote on 09/24/2012 03:15:04 PM:
> From: "George Weaver" <gweaver@shaw.ca>
> To: <pgsql-odbc@postgresql.org>,
> Date: 09/24/2012 03:15 PM
> Subject: [ODBC] Application Name
> Sent by: pgsql-odbc-owner@postgresql.org
>
> Hi,
>
> I don't see the option to specify application name in the list at
> http://psqlodbc.projects.postgresql.org/config-opt.html.
>
> Is this something that will eventually be possible?
>
> Thanks,
> George
^ permalink raw reply [nested|flat] 6+ messages in thread
* application_name
@ 2014-11-12 16:39 luis.gustavo@tjap.jus.br
0 siblings, 1 reply; 6+ messages in thread
From: luis.gustavo@tjap.jus.br @ 2014-11-12 16:39 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I'm a developer in Brazil, and I need your help about how utilize a
string connection with the application_name!! Is possible??
Thank You for attention,
Luis Gustavo
-------------------------
Email sent using ProApps
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: application_name
@ 2014-11-13 08:24 Prisma Computer - M. Neumann <m.neumann@prisma-computer.de>
parent: luis.gustavo@tjap.jus.br
0 siblings, 1 reply; 6+ messages in thread
From: Prisma Computer - M. Neumann @ 2014-11-13 08:24 UTC (permalink / raw)
To: pgsql-odbc
Hi Luis,
I set the application_name after the connection is established with
execute:
set application_name = 'my application name'
Regards,
Malte Neumann
Am 12.11.2014 17:39, schrieb luis.gustavo@tjap.jus.br:
> Hi,
>
> I'm a developer in Brazil, and I need your help about how utilize a
> string connection with the application_name!! Is possible??
>
> Thank You for attention,
>
> Luis Gustavo
> ------------------------------------------------------------------------
> Email sent using ProApps
--
Prisma Computer GmbH
Sternallee 89 - 68723 Schwetzingen
Fon 0 62 02.5 75 68 10
Fax 0 62 02.5 75 68 75
eMail: m.neumann@prisma-computer.de
Internet: www.prisma-computer.de
Geschäftsführung: Gerald Wilkens, Bernhard Goebel
Amtsgericht Mannheim HRB 420986 S
USt-IdNr.: DE 144 278 153
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: application_name
@ 2014-11-13 13:48 Heikki Linnakangas <hlinnakangas@vmware.com>
parent: Prisma Computer - M. Neumann <m.neumann@prisma-computer.de>
0 siblings, 1 reply; 6+ messages in thread
From: Heikki Linnakangas @ 2014-11-13 13:48 UTC (permalink / raw)
To: Prisma Computer - M. Neumann <m.neumann@prisma-computer.de>; pgsql-odbc
On 11/13/2014 10:24 AM, Prisma Computer - M. Neumann wrote:
> Hi Luis,
>
> I set the application_name after the connection is established with
> execute:
> set application_name = 'my application name'
You can also put that in the ConnSettings datasource option. That will
make the driver to execute that for you, just after establishing the
connection, before handing the connection to the application.
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: application_name
@ 2014-11-18 06:38 Craig Ringer <craig@2ndquadrant.com>
parent: Heikki Linnakangas <hlinnakangas@vmware.com>
0 siblings, 0 replies; 6+ messages in thread
From: Craig Ringer @ 2014-11-18 06:38 UTC (permalink / raw)
To: Heikki Linnakangas <hlinnakangas@vmware.com>; Prisma Computer - M. Neumann <m.neumann@prisma-computer.de>; pgsql-odbc
On 11/13/2014 09:48 PM, Heikki Linnakangas wrote:
>>
>
> You can also put that in the ConnSettings datasource option. That will
> make the driver to execute that for you, just after establishing the
> connection, before handing the connection to the application.
It'd be nice to allow the user to specify additional values for the
startup packet, so application_name etc could be sent without an extra
round-trip.
That falls into the "patches are welcome" category though, I think.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2014-11-18 06:38 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 19:15 Application Name George Weaver <gweaver@shaw.ca>
2012-09-25 13:35 Application Name George Weaver <gweaver@shaw.ca>
2014-11-12 16:39 application_name luis.gustavo@tjap.jus.br
2014-11-13 08:24 ` Re: application_name Prisma Computer - M. Neumann <m.neumann@prisma-computer.de>
2014-11-13 13:48 ` Re: application_name Heikki Linnakangas <hlinnakangas@vmware.com>
2014-11-18 06:38 ` Re: application_name Craig Ringer <craig@2ndquadrant.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