Commit 6b80ca2f authored by Bruce Momjian's avatar Bruce Momjian

Fix plpgsql error message for dropped temporary tables.

parent e49da485
Frequently Asked Questions (FAQ) for PostgreSQL Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Thu Feb 24 19:45:40 EST 2005 Last updated: Thu Feb 24 23:18:31 EST 2005
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
4.17) How do I perform an outer join? 4.17) How do I perform an outer join?
4.18) How do I perform queries using multiple databases? 4.18) How do I perform queries using multiple databases?
4.19) How do I return multiple rows or columns from a function? 4.19) How do I return multiple rows or columns from a function?
4.20) Why do I get "missing oid" errors when accessing temporary 4.20) Why do I get "relation with OID ##### does not exist" errors
tables in PL/PgSQL functions? when accessing temporary tables in PL/PgSQL functions?
4.21) What encryption options are available? 4.21) What encryption options are available?
Extending PostgreSQL Extending PostgreSQL
...@@ -821,8 +821,8 @@ ...@@ -821,8 +821,8 @@
It is easy using set-returning functions, It is easy using set-returning functions,
http://techdocs.postgresql.org/guides/SetReturningFunctions. http://techdocs.postgresql.org/guides/SetReturningFunctions.
4.20) Why do I get "missing oid" errors when accessing temporary tables in 4.20) Why do I get "relation with OID ##### does not exist" errors when
PL/PgSQL functions? accessing temporary tables in PL/PgSQL functions?
PL/PgSQL caches function scripts, and an unfortunate side effect is PL/PgSQL caches function scripts, and an unfortunate side effect is
that if a PL/PgSQL function accesses a temporary table, and that table that if a PL/PgSQL function accesses a temporary table, and that table
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
alink="#0000ff"> alink="#0000ff">
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> <H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
<P>Last updated: Thu Feb 24 19:45:40 EST 2005</P> <P>Last updated: Thu Feb 24 23:18:31 EST 2005</P>
<P>Current maintainer: Bruce Momjian (<A href= <P>Current maintainer: Bruce Momjian (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>) "mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)
...@@ -113,8 +113,9 @@ ...@@ -113,8 +113,9 @@
databases?<BR> databases?<BR>
<A href="#4.19">4.19</A>) How do I return multiple rows or columns <A href="#4.19">4.19</A>) How do I return multiple rows or columns
from a function?<BR> from a function?<BR>
<A href="#4.20">4.20</A>) Why do I get "missing oid" errors when <A href="#4.20">4.20</A>) Why do I get "relation with OID #####
accessing temporary tables in PL/PgSQL functions?<BR> does not exist" errors when accessing temporary tables in PL/PgSQL
functions?<BR>
<A href="#4.21">4.21</A>) What encryption options are available?<BR> <A href="#4.21">4.21</A>) What encryption options are available?<BR>
...@@ -1058,8 +1059,9 @@ length</TD></TR> ...@@ -1058,8 +1059,9 @@ length</TD></TR>
<a href="http://techdocs.postgresql.org/guides/SetReturningFunctions"> <a href="http://techdocs.postgresql.org/guides/SetReturningFunctions">
http://techdocs.postgresql.org/guides/SetReturningFunctions</a>. http://techdocs.postgresql.org/guides/SetReturningFunctions</a>.
<H4><A name="4.20">4.20</A>) Why do I get "missing oid" errors when <H4><A name="4.20">4.20</A>) Why do I get "relation with OID #####
accessing temporary tables in PL/PgSQL functions?</H4> does not exist" errors when accessing temporary tables in PL/PgSQL
functions?</H4>
<P>PL/PgSQL caches function scripts, and an unfortunate side effect <P>PL/PgSQL caches function scripts, and an unfortunate side effect
is that if a PL/PgSQL function accesses a temporary table, and that is that if a PL/PgSQL function accesses a temporary table, and that
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment