Commit 51cfb87a authored by Bruce Momjian's avatar Bruce Momjian

Update LookupExplicitNamespace() comments; commit message update

Also, commit 7e2322df affected DROP
TABLE IF EXISTS, not CREATE TABLE IF EXISTS.
parent 4deb57de
...@@ -2673,7 +2673,7 @@ LookupNamespaceNoError(const char *nspname) ...@@ -2673,7 +2673,7 @@ LookupNamespaceNoError(const char *nspname)
* Process an explicitly-specified schema name: look up the schema * Process an explicitly-specified schema name: look up the schema
* and verify we have USAGE (lookup) rights in it. * and verify we have USAGE (lookup) rights in it.
* *
* Returns the namespace OID. Raises ereport if any problem. * Returns the namespace OID
*/ */
Oid Oid
LookupExplicitNamespace(const char *nspname, bool missing_ok) LookupExplicitNamespace(const char *nspname, bool missing_ok)
...@@ -2690,8 +2690,7 @@ LookupExplicitNamespace(const char *nspname, bool missing_ok) ...@@ -2690,8 +2690,7 @@ LookupExplicitNamespace(const char *nspname, bool missing_ok)
/* /*
* Since this is used only for looking up existing objects, there is * Since this is used only for looking up existing objects, there is
* no point in trying to initialize the temp namespace here; and doing * no point in trying to initialize the temp namespace here; and doing
* so might create problems for some callers. Just fall through and * so might create problems for some callers --- just fall through.
* give the "does not exist" error.
*/ */
} }
......
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