pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make ALTER .. SET SCHEMA do nothing, instead of throwing an ERRO
Date: Thu, 19 Nov 2015 15:51:33 +0000
Message-ID: <E1ZzRUj-0007hk-3r@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bc4996e61b98d41eacf991c18508b7a2305a68c6

Modified Files
--------------
src/backend/catalog/namespace.c             |   19 +++---------
src/backend/catalog/pg_constraint.c         |    3 +-
src/backend/commands/alter.c                |   12 +++++++-
src/backend/commands/tablecmds.c            |   14 ++++++---
src/backend/commands/typecmds.c             |   42 ++++++++++++++++-----------
src/include/catalog/namespace.h             |    3 +-
src/test/regress/expected/alter_generic.out |    1 +
src/test/regress/expected/alter_table.out   |    5 ++--
src/test/regress/sql/alter_generic.sql      |    1 +
src/test/regress/sql/alter_table.sql        |    4 ++-
10 files changed, 61 insertions(+), 43 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (3+ messages)  latest in thread

Message-ID: <E1ZzRUj-0007hk-3r@gemulon.postgresql.org>
Permalink:  ../E1ZzRUj-0007hk-3r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZzRUj-0007hk-3r@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Make ALTER .. SET SCHEMA do nothing, instead of throwing an ERRO
  In-Reply-To: <E1ZzRUj-0007hk-3r@gemulon.postgresql.org>
  References: <E1ZzRUj-0007hk-3r@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox