Re: Bug#333854: pg_group file update problems - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug#333854: pg_group file update problems
Date
Msg-id 10086.1129303436@sss.pgh.pa.us
Whole thread Raw
In response to Bug#333854: pg_group file update problems  (Dennis Vshivkov <walrus@amur.ru>)
Responses Re: Bug#333854: pg_group file update problems
List pgsql-bugs
Dennis Vshivkov <walrus@amur.ru> writes:
> The problem is that the code that updates pg_group file resolves
> group membership through the system user catalogue cache.

Good catch.

> The attached `98-6-pg_group-stale-data-fix.patch' makes the code
> in question access the system user table directly and thus fixes

Wouldn't a CommandCounterIncrement be a much simpler solution?

Since this code is all gone in CVS tip, there's not going to be any way
of beta-testing a large patch ... and there's also not going to be a lot
of support for pushing a large, poorly tested patch into the back
branches.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1964: Role membership error
Next
From: Bruce Momjian
Date:
Subject: Re: Bug#333854: pg_group file update problems