Re: [HACKERS] PGPASSWORD and client tools - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] PGPASSWORD and client tools
Date
Msg-id 200506100402.j5A420n20083@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] PGPASSWORD and client tools  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >       char        pgpassfile[MAXPGPATH];
>
> > !         if (!pgpassfile)
> > !         {
> > !             fprintf(stderr, libpq_gettext("out of memory\n"));
> > !             return NULL;
> > !         }
>
> Waste of code, eh?

Never hurts to be too careful.  (removed)  ;-)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] PGPASSWORD and client tools
Next
From: Neil Conway
Date:
Subject: Re: final light versions of Oracle compatibility (SQLSTATE,