Skip site navigation (1) Skip section navigation (2)

pgsql: Flat file cleanup phase 2: make it work for pg_group.

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 (view raw or flat)
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)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-02-20 04:56:04
Subject: pgsql: I have added a define, MAKE_ALL_TUPLES_VISIBLE, to help people
Previous:From: User T-ishiiDate: 2005-02-20 04:19:16
Subject: pgpool - pgpool: version 2.5.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group