From: | "Maksim Likharev" <mlikharev(at)aurigin(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Temp tables, question |
Date: | 2003-07-17 21:18:38 |
Message-ID: | 56510AAEF435D240958D1CE8C6B1770A014A0E57@mailc03.aurigin.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I have a question, temporary tables are killing me,
1. Live in session scope, but does not care about function scope
so temp table created once in a function will be visible during
second function
execution (same session), of cause I can drop it manually, but ....
any changes of that in 7.4?
2. PGPLSQL cache temp tables somehow, so when I drop table and call
function again,
that will say 'relation xxxxxxxx cache lookup failed' or something,
that basically renders usage of temp tables useless, or you have to
drop connection
every time ( what I am doing now ) ( slow no connection pooling ) or
do not use
temp table or run dynamic SQL that is in most cases ugly or even
unusable.
any changes in 7.4?
Thank you
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2003-07-17 21:50:12 | Re: Crossed Reference Query |
Previous Message | Maksim Likharev | 2003-07-17 21:16:48 | Re: ODBC query problem |