Skip to content

Commit 6b80ca2

Browse files
committed
Fix plpgsql error message for dropped temporary tables.
1 parent e49da48 commit 6b80ca2

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

doc/FAQ

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Thu Feb 24 19:45:40 EST 2005
4+
Last updated: Thu Feb 24 23:18:31 EST 2005
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -77,8 +77,8 @@
7777
4.17) How do I perform an outer join?
7878
4.18) How do I perform queries using multiple databases?
7979
4.19) How do I return multiple rows or columns from a function?
80-
4.20) Why do I get "missing oid" errors when accessing temporary
81-
tables in PL/PgSQL functions?
80+
4.20) Why do I get "relation with OID ##### does not exist" errors
81+
when accessing temporary tables in PL/PgSQL functions?
8282
4.21) What encryption options are available?
8383

8484
Extending PostgreSQL
@@ -821,8 +821,8 @@
821821
It is easy using set-returning functions,
822822
http://techdocs.postgresql.org/guides/SetReturningFunctions.
823823

824-
4.20) Why do I get "missing oid" errors when accessing temporary tables in
825-
PL/PgSQL functions?
824+
4.20) Why do I get "relation with OID ##### does not exist" errors when
825+
accessing temporary tables in PL/PgSQL functions?
826826

827827
PL/PgSQL caches function scripts, and an unfortunate side effect is
828828
that if a PL/PgSQL function accesses a temporary table, and that table

doc/src/FAQ/FAQ.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
alink="#0000ff">
1111
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
1212

13-
<P>Last updated: Thu Feb 24 19:45:40 EST 2005</P>
13+
<P>Last updated: Thu Feb 24 23:18:31 EST 2005</P>
1414

1515
<P>Current maintainer: Bruce Momjian (<A href=
1616
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)
@@ -113,8 +113,9 @@ <H2 align="center">Operational Questions</H2>
113113
databases?<BR>
114114
<A href="#4.19">4.19</A>) How do I return multiple rows or columns
115115
from a function?<BR>
116-
<A href="#4.20">4.20</A>) Why do I get "missing oid" errors when
117-
accessing temporary tables in PL/PgSQL functions?<BR>
116+
<A href="#4.20">4.20</A>) Why do I get "relation with OID #####
117+
does not exist" errors when accessing temporary tables in PL/PgSQL
118+
functions?<BR>
118119
<A href="#4.21">4.21</A>) What encryption options are available?<BR>
119120

120121

@@ -1058,8 +1059,9 @@ <H4><A name="4.19">4.19</A>) How do I return multiple rows or
10581059
<a href="http://techdocs.postgresql.org/guides/SetReturningFunctions">
10591060
http://techdocs.postgresql.org/guides/SetReturningFunctions</a>.
10601061

1061-
<H4><A name="4.20">4.20</A>) Why do I get "missing oid" errors when
1062-
accessing temporary tables in PL/PgSQL functions?</H4>
1062+
<H4><A name="4.20">4.20</A>) Why do I get "relation with OID #####
1063+
does not exist" errors when accessing temporary tables in PL/PgSQL
1064+
functions?</H4>
10631065

10641066
<P>PL/PgSQL caches function scripts, and an unfortunate side effect
10651067
is that if a PL/PgSQL function accesses a temporary table, and that

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy