pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve documentation about PRIMARY KEY constraints. 6+ messages / 1 participants [nested] [flat]
* pgsql: Improve documentation about PRIMARY KEY constraints. @ 2016-02-07 21:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-02-07 21:03 UTC (permalink / raw) To: pgsql-committers Improve documentation about PRIMARY KEY constraints. Get rid of the false implication that PRIMARY KEY is exactly equivalent to UNIQUE + NOT NULL. That was more-or-less true at one time in our implementation, but the standard doesn't say that, and we've grown various features (many of them required by spec) that treat a pkey differently from less-formal constraints. Per recent discussion on pgsql-general. I failed to resist the temptation to do some other wordsmithing in the same area. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/c477e84fe2471cb675234fce75cd6bb4bc2cf481 Modified Files -------------- doc/src/sgml/ddl.sgml | 56 ++++++++++++++++++++------------------ doc/src/sgml/ref/create_table.sgml | 26 +++++++++--------- 2 files changed, 42 insertions(+), 40 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Improve documentation about PRIMARY KEY constraints. @ 2016-02-07 21:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-02-07 21:03 UTC (permalink / raw) To: pgsql-committers Improve documentation about PRIMARY KEY constraints. Get rid of the false implication that PRIMARY KEY is exactly equivalent to UNIQUE + NOT NULL. That was more-or-less true at one time in our implementation, but the standard doesn't say that, and we've grown various features (many of them required by spec) that treat a pkey differently from less-formal constraints. Per recent discussion on pgsql-general. I failed to resist the temptation to do some other wordsmithing in the same area. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/65f1510a82a2e792b8b0c4ffacdb4e996410d943 Modified Files -------------- doc/src/sgml/ddl.sgml | 56 ++++++++++++++++++++------------------ doc/src/sgml/ref/create_table.sgml | 26 +++++++++--------- 2 files changed, 42 insertions(+), 40 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Improve documentation about PRIMARY KEY constraints. @ 2016-02-07 21:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-02-07 21:03 UTC (permalink / raw) To: pgsql-committers Improve documentation about PRIMARY KEY constraints. Get rid of the false implication that PRIMARY KEY is exactly equivalent to UNIQUE + NOT NULL. That was more-or-less true at one time in our implementation, but the standard doesn't say that, and we've grown various features (many of them required by spec) that treat a pkey differently from less-formal constraints. Per recent discussion on pgsql-general. I failed to resist the temptation to do some other wordsmithing in the same area. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/73ed2a5607b88b018c3e1cbdc9ea4623695a7743 Modified Files -------------- doc/src/sgml/ddl.sgml | 60 ++++++++++++++++++++------------------ doc/src/sgml/ref/create_table.sgml | 26 ++++++++--------- 2 files changed, 44 insertions(+), 42 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Improve documentation about PRIMARY KEY constraints. @ 2016-02-07 21:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-02-07 21:03 UTC (permalink / raw) To: pgsql-committers Improve documentation about PRIMARY KEY constraints. Get rid of the false implication that PRIMARY KEY is exactly equivalent to UNIQUE + NOT NULL. That was more-or-less true at one time in our implementation, but the standard doesn't say that, and we've grown various features (many of them required by spec) that treat a pkey differently from less-formal constraints. Per recent discussion on pgsql-general. I failed to resist the temptation to do some other wordsmithing in the same area. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/abcb32d55ed8da8c158936d5a48a0c3b84bfe3ff Modified Files -------------- doc/src/sgml/ddl.sgml | 58 ++++++++++++++++++++------------------ doc/src/sgml/ref/create_table.sgml | 26 ++++++++--------- 2 files changed, 44 insertions(+), 40 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Improve documentation about PRIMARY KEY constraints. @ 2016-02-07 21:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-02-07 21:03 UTC (permalink / raw) To: pgsql-committers Improve documentation about PRIMARY KEY constraints. Get rid of the false implication that PRIMARY KEY is exactly equivalent to UNIQUE + NOT NULL. That was more-or-less true at one time in our implementation, but the standard doesn't say that, and we've grown various features (many of them required by spec) that treat a pkey differently from less-formal constraints. Per recent discussion on pgsql-general. I failed to resist the temptation to do some other wordsmithing in the same area. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ddcc256caf5523d5b856b2f461178f2711bcd345 Modified Files -------------- doc/src/sgml/ddl.sgml | 58 ++++++++++++++++++++------------------ doc/src/sgml/ref/create_table.sgml | 26 ++++++++--------- 2 files changed, 44 insertions(+), 40 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Improve documentation about PRIMARY KEY constraints. @ 2016-02-07 21:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-02-07 21:03 UTC (permalink / raw) To: pgsql-committers Improve documentation about PRIMARY KEY constraints. Get rid of the false implication that PRIMARY KEY is exactly equivalent to UNIQUE + NOT NULL. That was more-or-less true at one time in our implementation, but the standard doesn't say that, and we've grown various features (many of them required by spec) that treat a pkey differently from less-formal constraints. Per recent discussion on pgsql-general. I failed to resist the temptation to do some other wordsmithing in the same area. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f6c7bfb597a365b6dd2b8e1c2e00582d39b05ba0 Modified Files -------------- doc/src/sgml/ddl.sgml | 58 ++++++++++++++++++++------------------ doc/src/sgml/ref/create_table.sgml | 26 ++++++++--------- 2 files changed, 44 insertions(+), 40 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2016-02-07 21:03 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-02-07 21:03 pgsql: Improve documentation about PRIMARY KEY constraints. Tom Lane <tgl@sss.pgh.pa.us> 2016-02-07 21:03 pgsql: Improve documentation about PRIMARY KEY constraints. Tom Lane <tgl@sss.pgh.pa.us> 2016-02-07 21:03 pgsql: Improve documentation about PRIMARY KEY constraints. Tom Lane <tgl@sss.pgh.pa.us> 2016-02-07 21:03 pgsql: Improve documentation about PRIMARY KEY constraints. Tom Lane <tgl@sss.pgh.pa.us> 2016-02-07 21:03 pgsql: Improve documentation about PRIMARY KEY constraints. Tom Lane <tgl@sss.pgh.pa.us> 2016-02-07 21:03 pgsql: Improve documentation about PRIMARY KEY constraints. Tom Lane <tgl@sss.pgh.pa.us>
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