Re: Adding column_constraint description in ALTER TABLE synopsis

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Lætitia Avrot <laetitia(dot)avrot(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Adding column_constraint description in ALTER TABLE synopsis
Date: 2017-10-31 12:31:21
Message-ID: 20171031123121.GX4628@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings,

* Lætitia Avrot (laetitia(dot)avrot(at)gmail(dot)com) wrote:
> As Amit Langot pointed out, the column_constraint definition is missing
> whereas it is used in ALTER TABLE synopsis. It can be easily found in the
> CREATE TABLE synopsis, but it's not very user friendly.

Agreed.

> You will find enclosed my patch.

Thanks, this looks pretty reasonable, but did you happen to look for any
other keywords in the ALTER TABLE that should really be in ALTER TABLE
also?

I'm specifically looking at, at least, partition_bound_spec. Maybe you
could propose an updated patch which addresses that also, and any other
cases you find?

Thanks again!

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-10-31 12:34:45 Re: Query regarding permission on table_column%type access
Previous Message Stephen Frost 2017-10-31 12:27:02 Re: Remove inbound links to sql-createuser