Default libpq application name

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Default libpq application name
Date: 2010-04-07 17:41:33
Message-ID: 201004071741.o37HfXM22851@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I just emailed Dave Page and it seems we don't set a default application
name in libpq. Should we do:

extern char *argv[];

and reference argv[0] in libpq to set a default application name?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-04-07 17:45:21 Re: Default libpq application name
Previous Message Robert Haas 2010-04-07 17:11:00 Re: Streaming replication and a disk full in primary