aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2013-01-26 13:47:50 -0500
committerBruce Momjian <bruce@momjian.us>2013-01-26 13:47:50 -0500
commit51cfb87ae235ffc875946bcb6cb8404fe97cbb9b (patch)
tree66790e9c58ba6b369b217b72b272807e9a871c5d /src
parent4deb57de7dcfb66f850f16c0324731fdf3d86d09 (diff)
downloadpostgresql-51cfb87ae235ffc875946bcb6cb8404fe97cbb9b.tar.gz
postgresql-51cfb87ae235ffc875946bcb6cb8404fe97cbb9b.zip
Update LookupExplicitNamespace() comments; commit message update
Also, commit 7e2322dff30c04d90c0602d2b5ae24b4881db88b affected DROP TABLE IF EXISTS, not CREATE TABLE IF EXISTS.
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/namespace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/catalog/namespace.c b/src/backend/catalog/namespace.c
index 1c76602b5ef..6964feedc2e 100644
--- a/src/backend/catalog/namespace.c
+++ b/src/backend/catalog/namespace.c
@@ -2673,7 +2673,7 @@ LookupNamespaceNoError(const char *nspname)
* Process an explicitly-specified schema name: look up the schema
* and verify we have USAGE (lookup) rights in it.
*
- * Returns the namespace OID. Raises ereport if any problem.
+ * Returns the namespace OID
*/
Oid
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
* no point in trying to initialize the temp namespace here; and doing
- * so might create problems for some callers. Just fall through and
- * give the "does not exist" error.
+ * so might create problems for some callers --- just fall through.
*/
}