pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: Andreas Tille <tillea@rki.de>
Cc: PostgreSQL SQL <pgsql-sql@hub.org>
Subject: Re: Create table in functions
Date: Thu, 24 Aug 2000 01:32:45 -0400
Message-ID: <25715.967095165@sss.pgh.pa.us> (raw)
In-Reply-To: <000201c00d66$3953ea80$2801007e@tpf.co.jp>
References: <000201c00d66$3953ea80$2801007e@tpf.co.jp>

"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> Hmm,Andreas's original function seems to contain other statements.
> If the function contains DML statements for the table Temp_Num_Table,
> it wouldn't work properly. i.e 1st call would work but 2nd call woudn't.

Are you thinking about plpgsql's caching of query plans (and
specifically the table OIDs stored in those plans) or is there another
issue here?

We do need to think about invalidating cached query plans when updates
happen...

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <25715.967095165@sss.pgh.pa.us>
Permalink:  ../25715.967095165@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25715.967095165@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Inoue@tpf.co.jp, tillea@rki.de, pgsql-sql@hub.org
  Subject: Re: Create table in functions
  In-Reply-To: <25715.967095165@sss.pgh.pa.us>
  References: <000201c00d66$3953ea80$2801007e@tpf.co.jp> <25715.967095165@sss.pgh.pa.us>

* 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