Re: Error OID

From: "Yohanes Purnomo" <yohanes(at)logicsoftware(dot)info>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Error OID
Date: 2007-12-06 02:08:46
Message-ID: 1112.222.124.79.135.1196906926.squirrel@email.powweb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sabin Coanda 2007-12-06 16:32:01 execute system command from storage procedure
Previous Message Gerardo Herzig 2007-12-05 15:19:42 Re: plpythonu and "hello concurrent world"