Re: [HACKERS] PGPASSWORD and client tools

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] PGPASSWORD and client tools
Date: 2005-06-10 04:02:00
Message-ID: 200506100402.j5A420n20083@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-10 06:10:14 Re: INHERITS and planning
Previous Message Tom Lane 2005-06-10 03:55:22 Re: [HACKERS] PGPASSWORD and client tools

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-06-10 04:24:33 Re: final light versions of Oracle compatibility (SQLSTATE,
Previous Message Tom Lane 2005-06-10 03:55:22 Re: [HACKERS] PGPASSWORD and client tools