Re: Client application name

From: Kris Jurka <books(at)ejurka(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Client application name
Date: 2009-10-13 16:30:33
Message-ID: alpine.BSO.2.00.0910131228430.22205@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 13 Oct 2009, Dave Page wrote:

> A useful feature found in other DBMSs such as MS SQL Server that has
> been requested on these lists a few times, is the ability for a client
> application to report its name to the server. This information may
> then be presented in logs, activity reports and so on to aid debugging
> and help the sysadmin/DBA see easily what activity is coming from
> where on their server.

As a point of reference the JDBC API specifies the following which allows
multiple properties that are similar to the desired request which are
useful in a multi-tier application.

http://java.sun.com/javase/6/docs/api/java/sql/Connection.html#setClientInfo(java.lang.String,%20java.lang.String)

Kris Jurka

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Massa, Harald Armin 2009-10-13 16:30:54 Re: Client application name
Previous Message Dimitri Fontaine 2009-10-13 16:30:27 Re: COPY enhancements