pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: postgresql@arkhena.33mail.com
To: pgsql-bugs@postgresql.org
Cc: postgresql@arkhena.33mail.com
Subject: BUG #14873: table_constraint description missing in ALTER TABLE synopsis
Date: Thu, 26 Oct 2017 09:44:28 +0000
Message-ID: <20171026094428.1475.84129@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14873
Logged by:          Lætitia AVROT
Email address:      postgresql@arkhena.33mail.com
PostgreSQL version: 10.0
Operating system:   All
Description:        

Hi,

I've seen that in the ALTER TABLE synopsis, the table_constraint definition
is missing. It's not really a bug, as it may be found in the CREATE TABLE
synopsis (and will find it there), but it might be a great idea to add it.

Here are the lines missing:
"and table_constraint is:

[ CONSTRAINT constraint_name ]
{ CHECK ( expression ) [ NO INHERIT ] |
  UNIQUE ( column_name [, ... ] ) index_parameters |
  PRIMARY KEY ( column_name [, ... ] ) index_parameters |
  EXCLUDE [ USING index_method ] ( exclude_element WITH operator [, ... ] )
index_parameters [ WHERE ( predicate ) ] |
  FOREIGN KEY ( column_name [, ... ] ) REFERENCES reftable [ ( refcolumn [,
... ] ) ]
    [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE action ] [ ON
UPDATE action ] }
[ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE
]"

Regards,

Lætitia


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


view thread (2+ messages)  latest in thread

Message-ID: <20171026094428.1475.84129@wrigleys.postgresql.org>
Permalink:  ../20171026094428.1475.84129@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20171026094428.1475.84129@wrigleys.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-bugs@postgresql.org
  Cc: postgresql@arkhena.33mail.com
  Subject: Re: BUG #14873: table_constraint description missing in ALTER TABLE synopsis
  In-Reply-To: <20171026094428.1475.84129@wrigleys.postgresql.org>
  References: <20171026094428.1475.84129@wrigleys.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