temp tables should not have pg_shdepend entries - Mailing list pgsql-hackers

From Alvaro Herrera
Subject temp tables should not have pg_shdepend entries
Date
Msg-id 20080408162528.GC9062@alvh.no-ip.org
Whole thread Raw
Responses Re: temp tables should not have pg_shdepend entries  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Among the consequences of creating a temp table is the fact that we
create pg_shdepend entries for the owner.  This is largely unnecessary
-- we only need it when the table owner is not the authenticated user.
I hereby propose we don't create those entries, since obviously the
tables would go away as soon as the connection goes away anyway, and the
user cannot go away until the connection does.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: COPY Transform support
Next
From: Bruce Momjian
Date:
Subject: Re: temp tables should not have pg_shdepend entries