Skip site navigation (1) Skip section navigation (2)

Re: Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: tom(at)minnesota(dot)com, pgsql-bugs(at)postgresql(dot)org, brent(at)rcfile(dot)org, pgsql(at)rkirkpat(dot)net, a(dot)joubert(at)albourne(dot)com, arrigo(at)albourne(dot)com
Subject: Re: Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]
Date: 2000-12-31 03:23:33
Message-ID: 20001231122333C.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-general
> Hmm, do you have an environment definition for PGPORT?
> 
> I notice that pg_regress.sh contains
> 
> 	export PGPORT
> 
> but it doesn't necessarily set any value for PGPORT.  It seems possible
> that some shells may take this as license to invent an empty-string
> value for PGPORT, which would cause libpq to think that port 0 is being
> specified.
> 
> My feeling is that libpq ought to ignore an empty-string PGPORT
> environment value, rather than treat it as selecting port 0.
> Comments anyone?

Agreed. I have already committed changes to ignore empty-string pgport
paramter of PQsetdbLogin(). Same thing should be applied to PGPORT
environment variable too, I think.
--
Tatsuo Ishii

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2000-12-31 03:43:51
Subject: Re: NetBSD/Alpha and rkirkpat's patch [was Re: regress failed tests.. SERIOUS?]
Previous:From: Thomas T. ThaiDate: 2000-12-31 01:57:59
Subject: Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]

pgsql-general by date

Next:From: Tom LaneDate: 2000-12-31 03:43:51
Subject: Re: NetBSD/Alpha and rkirkpat's patch [was Re: regress failed tests.. SERIOUS?]
Previous:From: Tom LaneDate: 2000-12-31 03:14:44
Subject: Re: How do we use classes as types?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group