pgsql-server/src backend/catalog/Tag: backend/ ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/catalog/Tag: backend/ ...
Date: 2003-02-07 01:33:39
Message-ID: 20030207013339.935C04761C2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 03/02/06 20:33:39

Modified files:
src/backend/catalog: Tag: REL7_3_STABLE dependency.c namespace.c
src/include/catalog: Tag: REL7_3_STABLE dependency.h

Log message:
Revise mechanism for getting rid of temp tables at backend shutdown.
Instead of grovelling through pg_class to find them, make use of the
handy dandy dependency mechanism: just delete everything that depends
on our temp schema. Unlike the pg_class scan, the dependency mechanism
is smart enough to delete things in an order that doesn't fall foul of
any dependency restrictions. Fixes problem reported by David Heggie:
a temp table with a serial column may cause a backend FATAL exit at
shutdown time, if it chances to try to delete the temp sequence first.

Browse pgsql-committers by date

  From Date Subject
Next Message Dave Cramer 2003-02-07 12:47:29 pgsql-server/src/interfaces/jdbc/org/postgresq ...
Previous Message Tom Lane 2003-02-07 01:33:06 pgsql-server/src backend/catalog/dependency.c ...