From: Josh Berkus <josh@agliodbs.com>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Mintoo Lall <tlqmail@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Drop temporary table only if it exists
Date: Tue, 18 Feb 2003 22:29:25 -0800
Message-ID: <200302182229.25872.josh@agliodbs.com> (raw)
In-Reply-To: <3E529BF0.D373AA9C@Yahoo.com>
References: <20030214153413.24680.qmail@web14802.mail.yahoo.com>
<200302181028.01599.josh@agliodbs.com>
<3E529BF0.D373AA9C@Yahoo.com>
Jan,
> All temporary objects that need to persist across transactions should be
> created at session start. Everything else is created inside the
> transaction that needs it and is therefore automatically cleaned up.
That's a good idea for Mintoo: open your temporary objects inside a
transaction. Then you can dismiss them by rolling back the transaction.
> I never needed to. I might when I come around and create the next
> generation of PL that supports packages with package initialization
> functions and the like. Let's see ...
Hey, drop a line by David Fetter. He's been making noises about overhauling
PL/pgSQL.
--
Josh Berkus
Aglio Database Solutions
San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, JanWieck@Yahoo.com, tlqmail@yahoo.com
Subject: Re: Drop temporary table only if it exists
In-Reply-To: <200302182229.25872.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox