From: | tgl(at)svr1(dot)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Flat file cleanup phase 2: make it work for pg_group. |
Date: | 2005-02-20 04:46:05 |
Message-ID: | 20050220044605.1E6AC8BA087@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/libpq:
crypt.c (r1.61 -> r1.62)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/crypt.c.diff?r1=1.61&r2=1.62)
hba.c (r1.138 -> r1.139)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c.diff?r1=1.138&r2=1.139)
pgsql/src/backend/utils/init:
flatfiles.c (r1.1 -> r1.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/flatfiles.c.diff?r1=1.1&r2=1.2)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-02-20 04:56:04 | pgsql: I have added a define, MAKE_ALL_TUPLES_VISIBLE, to help people |
Previous Message | User T-ishii | 2005-02-20 04:19:16 | pgpool - pgpool: version 2.5.1 |