Re: Client application name - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: Client application name
Date
Msg-id alpine.BSO.2.00.0910131228430.22205@leary.csoft.net
Whole thread Raw
In response to Client application name  (Dave Page <dpage@pgadmin.org>)
List 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


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Wire protocol docs
Next
From: "Massa, Harald Armin"
Date:
Subject: Re: Client application name