pgsql-server/src backend/commands/copy.c backe ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/commands/copy.c backe ...
Date: 2002-10-14 16:51:30
Message-ID: 20021014165130.9F149475C15@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 02/10/14 12:51:30

Modified files:
src/backend/commands: copy.c trigger.c
src/backend/executor: execMain.c
src/backend/utils/cache: relcache.c
src/include/commands: trigger.h

Log message:
Arrange to copy relcache's trigdesc structure at the start of any
query that uses it. This ensures that triggers will be applied consistently
throughout a query even if someone commits changes to the relation's
pg_class.reltriggers field meanwhile. Per crash report from Laurette Cisneros.
While at it, simplify memory management in relcache.c, which no longer
needs the old hack to try to keep trigger info in the same place over
a relcache entry rebuild. (Should try to fix rd_att and rewrite-rule
access similarly, someday.) And make RelationBuildTriggers simpler and
more robust by making it build the trigdesc in working memory and then
CopyTriggerDesc() into cache memory.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-10-14 17:15:11 pgsql-server/src/interfaces/libpq fe-connect.c ...
Previous Message Bruce Momjian - CVS 2002-10-14 04:29:23 pgsql-server/doc/src/sgml catalogs.sgml