diff options
| author | Robert Haas <rhaas@postgresql.org> | 2015-11-19 10:49:25 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2015-11-19 10:49:25 -0500 |
| commit | bc4996e61b98d41eacf991c18508b7a2305a68c6 (patch) | |
| tree | b0f8404f7f1fe62f6fe0c530c23e4c70acc7dede /src/include/catalog/namespace.h | |
| parent | f11c557e92c50d3d613d1173c15feb5310ba4744 (diff) | |
| download | postgresql-bc4996e61b98d41eacf991c18508b7a2305a68c6.tar.gz | |
Make ALTER .. SET SCHEMA do nothing, instead of throwing an ERROR.
This was already true for CREATE EXTENSION, but historically has not
been true for other object types. Therefore, this is a backward
incompatibility. Per discussion on pgsql-hackers, everyone seems to
agree that the new behavior is better.
Marti Raudsepp, reviewed by Haribabu Kommi and myself
Diffstat (limited to 'src/include/catalog/namespace.h')
| -rw-r--r-- | src/include/catalog/namespace.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/catalog/namespace.h b/src/include/catalog/namespace.h index f3b005fa9d..b6ad93406f 100644 --- a/src/include/catalog/namespace.h +++ b/src/include/catalog/namespace.h @@ -112,8 +112,7 @@ 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); -extern void CheckSetNamespace(Oid oldNspOid, Oid nspOid, Oid classid, - Oid objid); +extern void CheckSetNamespace(Oid oldNspOid, Oid nspOid); extern Oid QualifiedNameGetCreationNamespace(List *names, char **objname_p); extern RangeVar *makeRangeVarFromNameList(List *names); extern char *NameListToString(List *names); |
