8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7780c41 commit d64b110Copy full SHA for d64b110
src/backend/parser/parse_relation.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/parser/parse_relation.c,v 1.150 2010/02/26 02:00:52 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/parser/parse_relation.c,v 1.151 2010/04/28 00:46:33 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -95,7 +95,7 @@ refnameRangeTblEntry(ParseState *pstate,
95
* match a schema name the user hasn't got access to.
96
97
namespaceId = LookupNamespaceNoError(schemaname);
98
- if (!OidIsValid(relId))
+ if (!OidIsValid(namespaceId))
99
return NULL;
100
relId = get_relname_relid(refname, namespaceId);
101
if (!OidIsValid(relId))
0 commit comments