]> granicus.if.org Git - postgresql/commit
Flat file cleanup phase 2: make it work for pg_group. The flat group
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2005 04:45:59 +0000 (04:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2005 04:45:59 +0000 (04:45 +0000)
commit3f9aec50e7e31ab8acd596a016e0dd0a1dd5e29c
treeb7fa329f1561c2676fbfd6d0171ce5578ffc4ad6
parent60b2444cc3ba037630c9b940c3c9ef01b954b87b
Flat file cleanup phase 2: make it work for pg_group.  The flat group
file now identifies group members by usesysid not name; this avoids
needing to depend on SearchSysCache which we can't use during startup.
(The old representation was entirely broken anyway, since we did not
regenerate the file following RENAME USER.)  It's only a 95% solution
because if the group membership list is big enough to be toasted out
of line, we cannot read it during startup.  I think this will do for
the moment, until we have time to implement the planned pg_role
replacement for pg_group.
src/backend/libpq/crypt.c
src/backend/libpq/hba.c
src/backend/utils/init/flatfiles.c