Application name and psql in 9.0

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: Application name and psql in 9.0
Date: 2010-08-06 04:42:18
Message-ID: 1281069738.2734.5.camel@hp-laptop2.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I am logging application name in 9.0, and noticed the following issue.
First, I produced an error with psql:

bash-3.2$ psql nonexistent
psql: FATAL: database "nonexistent" does not exist

Looking at the logs, I see:

10338 [unknown] 2010-08-06 07:38:00 EEST FATAL: database "nonexistent"
does not exist

Why can't I see psql there? Is it just because that logging is performed
just before detecting application name?

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Data Growth Pty Ltd 2010-08-06 05:10:30 Partitioning into thousands of tables?
Previous Message =?EUC-KR?B?s+vH9ryu?= 2010-08-06 04:35:58 Could you teach me, How can we specify password when using psql....