pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Barillari <jbarilla@princeton.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Temporary table weirdness
Date: Mon, 29 Apr 2002 12:07:14 -0400
Message-ID: <m3pu0ifpzh.fsf@washer.barillari.org> (raw)
In-Reply-To: <23409.1020089557@sss.pgh.pa.us>
References: <m3elgzni0f.fsf@washer.barillari.org>
	<23409.1020089557@sss.pgh.pa.us>

>>>>> "TL" == Tom Lane <tgl@sss.pgh.pa.us> writes:

    TL> In the meantime, you need to use EXECUTE to defeat the plan
    TL> caching for every plpgsql query that touches the temp table.
    TL> Another answer is to arrange to create the temp table only
    TL> once per session, but that's harder.

That's actually what I did -- the client programs in this application
have to call a function to create the various temporary tables at the
start of their database sessions. It's a bit of a kludge, but there
are only a few client applications which talk to this database.

Regards,

Joe Barillari

view thread (5+ messages)  latest in thread

Message-ID: <m3pu0ifpzh.fsf@washer.barillari.org>
Permalink:  ../m3pu0ifpzh.fsf@washer.barillari.org/
Also on:    postgresql.org/message-id/m3pu0ifpzh.fsf@washer.barillari.org

 · 

reply

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: jbarilla@princeton.edu, tgl@sss.pgh.pa.us
  Subject: Re: Temporary table weirdness
  In-Reply-To: <m3pu0ifpzh.fsf@washer.barillari.org>

* 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