Fix plpgsql error message for dropped temporary tables.

This commit is contained in:
Bruce Momjian 2005-02-25 04:18:27 +00:00
parent e49da4855c
commit 6b80ca2f06
2 changed files with 12 additions and 10 deletions

10
doc/FAQ
View File

@ -1,7 +1,7 @@
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 @@
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 @@
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

View File

@ -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 @@
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>
<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