git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7780c41)
Fix stupid typo in refnameRangeTblEntry() --- mea maxima culpa.
2010年4月28日 00:46:33 +0000 (00:46 +0000)
2010年4月28日 00:46:33 +0000 (00:46 +0000)
Per report from Josh.


diff --git a/src/backend/parser/parse_relation.c b/src/backend/parser/parse_relation.c
index 9fdcd83d75ba99501fbe60b8494d2a80b26b079a..1d0fc82bba2c968156a79ae0aa2978ed38979d9d 100644 (file)
--- a/src/backend/parser/parse_relation.c
+++ b/src/backend/parser/parse_relation.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $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 $
*
*-------------------------------------------------------------------------
*/
@@ -95,7 +95,7 @@ refnameRangeTblEntry(ParseState *pstate,
* match a schema name the user hasn't got access to.
*/
namespaceId = LookupNamespaceNoError(schemaname);
- if (!OidIsValid(relId))
+ if (!OidIsValid(namespaceId))
return NULL;
relId = get_relname_relid(refname, namespaceId);
if (!OidIsValid(relId))
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /