pgsql/src backend/access/transam/xact.c backen ... - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql/src backend/access/transam/xact.c backen ...
Date
Msg-id 20020522214055.96B6E47589A@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.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.


pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql/src/backend/catalog pg_proc.c
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql/src/backend Makefile