pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yohanes Purnomo <yohanes@logicsoftware.info>
To: pgsql-sql@postgresql.org
Subject: Re: Error OID
Date: Wed, 5 Dec 2007 21:08:46 -0500 (EST)
Message-ID: <1112.222.124.79.135.1196906926.squirrel@email.powweb.com> (raw)
In-Reply-To: <475654EF.8010804@lelarge.info>
References: <1254.222.124.95.13.1196821462.squirrel@email.powweb.com>
	<475654EF.8010804@lelarge.info>

Guillaume Lelarge write:

> When you run a function for the first time in the session, PostgreSQL
> keeps in cache some information... query plans for example.
>
>
> When you run it a second time, it uses the query plan in cache. As
> tmpTtlRekening has been drop at the end of the first run, its OID will
> change but the old OID is still in cache. So PostgreSQL tries to get
> information from the old temp table.
>

Guillaume Lelarge many thanks for your information

Regards

Yohanes Purnomo




view thread (3+ messages)

Message-ID: <1112.222.124.79.135.1196906926.squirrel@email.powweb.com>
Permalink:  ../1112.222.124.79.135.1196906926.squirrel@email.powweb.com/
Also on:    postgresql.org/message-id/1112.222.124.79.135.1196906926.squirrel@email.powweb.com

 · 

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: yohanes@logicsoftware.info
  Subject: Re: Error OID
  In-Reply-To: <1112.222.124.79.135.1196906926.squirrel@email.powweb.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