Re: WIP: getting rid of the pg_database flat file - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: getting rid of the pg_database flat file
Date
Msg-id 2132.1250039406@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP: getting rid of the pg_database flat file  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> Really?  And how would pgbouncer be depending on that?

> ==== auth_file ====

> The name of the file to load user names and passwords from. The file format 
> is the same as the PostgreSQL pg_auth/pg_pwd file, so this setting can be 
> pointed directly to one of those backend files.

Considering that we feel free to whack that file format around, and that
it's stored in a directory that non-postgres users shouldn't even be
able to read, I think this argument is just silly.  The only alternative
fix that was proposed in this thread
http://archives.postgresql.org/pgsql-performance/2009-08/msg00094.php
involved changing the flat files into a format that would definitely not
be easily readable by other programs, anyway.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgindent timing (was Re: [COMMITTERS] pgsql: Refactor NUM_cache_remove calls in error report path to a PG_TRY)
Next
From: Tom Lane
Date:
Subject: Re: dependencies for generated header files