]> granicus.if.org Git - postgresql/commit
Make ALTER .. SET SCHEMA do nothing, instead of throwing an ERROR.
authorRobert Haas <rhaas@postgresql.org>
Thu, 19 Nov 2015 15:49:25 +0000 (10:49 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 19 Nov 2015 15:49:25 +0000 (10:49 -0500)
commitbc4996e61b98d41eacf991c18508b7a2305a68c6
treeb0f8404f7f1fe62f6fe0c530c23e4c70acc7dede
parentf11c557e92c50d3d613d1173c15feb5310ba4744
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
src/backend/catalog/namespace.c
src/backend/catalog/pg_constraint.c
src/backend/commands/alter.c
src/backend/commands/tablecmds.c
src/backend/commands/typecmds.c
src/include/catalog/namespace.h
src/test/regress/expected/alter_generic.out
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_generic.sql
src/test/regress/sql/alter_table.sql