Prev: [HACKERS] Default libpq application name
Next: Enhancing phonetic search support for more languages- GSoC 2010
From: Tom Lane on 7 Apr 2010 13:45 Bruce Momjian <bruce(a)momjian.us> writes: > 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? No. This is not portable and it's not a good idea even if it were. The issue was discussed extensively when the patch was committed, and does not need to be revisited now. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers |