mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Allow CREATE TABLE IF EXIST so succeed if the schema is nonexistent
Previously, CREATE TABLE IF EXIST threw an error if the schema was nonexistent. This was done by passing 'missing_ok' to the function that looks up the schema oid.
This commit is contained in:
@@ -106,7 +106,7 @@ extern void DeconstructQualifiedName(List *names,
|
||||
char **nspname_p,
|
||||
char **objname_p);
|
||||
extern Oid LookupNamespaceNoError(const char *nspname);
|
||||
extern Oid LookupExplicitNamespace(const char *nspname);
|
||||
extern Oid LookupExplicitNamespace(const char *nspname, bool missing_ok);
|
||||
extern Oid get_namespace_oid(const char *nspname, bool missing_ok);
|
||||
|
||||
extern Oid LookupCreationNamespace(const char *nspname);
|
||||
|
Reference in New Issue
Block a user