Re: password is no required, authentication is overridden - Mailing list pgsql-hackers

From Dave Page
Subject Re: password is no required, authentication is overridden
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40154C0B3@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Re: password is no required, authentication is overridden  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers

> -----Original Message-----
> From: Andrew Dunstan [mailto:andrew@dunslane.net]
> Sent: 19 July 2006 15:20
> To: Dave Page
> Cc: Hiroshi Saito; Thomas Bley; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] password is no required,
> authentication is overridden
>
> >From: http://www.pgadmin.org/docs/1.4/connect.html
> >
> >If you select "store password", pgAdmin stores passwords you enter in
> >the ~/.pgpass file under *nix or
> %APPDATA%\postgresql\pgpass.conf under
> >Win32 for later reuse. For details, see pgpass
> documentation. It will be
> >used for all libpq based tools. If you want the password removed, you
> >can select the server's properties and uncheck the selection
> any time.
> >
> >
> >
>
> OK, although I am not sure I think that is sensible - it is at least
> documented. Does the dialog box also carry similar info?

It has a Help button that takes you straight to that doc page.

> >We have no sensible way of determining whether or not the
> libpq we are
> >running with supports PGPASSFILE.
> >
> >
> >
> >
>
> Well, this answer is better. The lack of an API to tell you
> the library
> version is possibly worrying, though.

Indeed. The issue has been raised a few times in the past but for
reasons I forget, such an API has never been added :-(

I'd be happy with:

int PQmajorVer()
int PQminorVer()

Or something similar. It would also be handy to have something like
PQhasKerberos()...

Regards, Dave.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_regress breaks on msys
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Statement Queuing