pgsql/src backend/access/transam/xact.c backen ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/access/transam/xact.c backen ...
Date: 2002-05-22 21:40:55
Message-ID: 20020522214055.96B6E47589A@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)org 02/05/22 17:40:55

Modified files:
src/backend/access/transam: xact.c
src/backend/commands: define.c sequence.c
src/include/commands: defrem.h sequence.h

Log message:
Modify sequence state storage to eliminate dangling-pointer problem
exemplified by bug #671. Moving the storage to relcache turned out to
be a bad idea because relcache might decide to discard the info. Instead,
open and close the relcache entry on each sequence operation, and use
a record of the current XID to discover whether we already hold
AccessShareLock on the sequence.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-05-22 21:46:40 pgsql/src/backend Makefile
Previous Message Tom Lane 2002-05-22 18:33:15 pgsql/src/backend/catalog pg_proc.c