pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ALTER TABLE ... ALTER COLUMN ... DROP EXPRESSION
Date: Tue, 14 Jan 2020 12:45:23 +0000
Message-ID: <E1irLZT-0000yx-R3@gemulon.postgresql.org> (raw)

ALTER TABLE ... ALTER COLUMN ... DROP EXPRESSION

Add an ALTER TABLE subcommand for dropping the generated property from
a column, per SQL standard.

Reviewed-by: Sergei Kornilov <sk@zsrv.org>
Discussion: https://www.postgresql.org/message-id/flat/2f7f1d9c-946e-0453-d841-4f38eb9d69b6%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f595117e24a79db6072979ab5a757431fd17232f

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml       |  18 ++++
src/backend/catalog/sql_features.txt    |   2 +-
src/backend/commands/tablecmds.c        | 161 +++++++++++++++++++++++++++++++-
src/backend/parser/gram.y               |  20 +++-
src/bin/psql/tab-complete.c             |   2 +-
src/include/nodes/parsenodes.h          |   1 +
src/include/parser/kwlist.h             |   1 +
src/test/regress/expected/generated.out |  87 +++++++++++++++++
src/test/regress/sql/generated.sql      |  38 ++++++++
9 files changed, 326 insertions(+), 4 deletions(-)



Message-ID: <E1irLZT-0000yx-R3@gemulon.postgresql.org>
Permalink:  ../E1irLZT-0000yx-R3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1irLZT-0000yx-R3@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: peter@eisentraut.org
  Subject: Re: pgsql: ALTER TABLE ... ALTER COLUMN ... DROP EXPRESSION
  In-Reply-To: <E1irLZT-0000yx-R3@gemulon.postgresql.org>
  References: <E1irLZT-0000yx-R3@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