Re: incompatible changes of PQsetdbLogin()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: incompatible changes of PQsetdbLogin()
Date: 2000-10-17 15:51:26
Message-ID: 1190.971797886@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> It seems some incompatible changes have been made between 7.0 and
> current. In 7.0, if a parameter is NULL OR a null string (""), then
> the value from an environment variable is applied. However in current
> ONLY NULL is considered. Is there any reason for this?

Peter E. did that recently, after discussion that concluded it was a
good idea --- otherwise there is no way to override an environment
variable with an empty string. Do you have an example where it's
a bad idea?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2000-10-17 15:58:14 Re: bug: alter table/FK
Previous Message Stephan Szabo 2000-10-17 15:44:51 Re: Re: [COMMITTERS] pgsql/src/backend/utils/adt (formatting.c oracle_compat.c)