pgsql: Minor doc tweak: "NOT NULL" is redundant with "SERIAL" in

Started by Nonameabout 20 years ago4 messages
#1Noname
neilc@postgresql.org

Log Message:
-----------
Minor doc tweak: "NOT NULL" is redundant with "SERIAL" in example.

Modified Files:
--------------
pgsql/doc/src/sgml/ref:
create_domain.sgml (r1.26 -> r1.27)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/create_domain.sgml.diff?r1=1.26&r2=1.27)

#2Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Noname (#1)
Re: [COMMITTERS] pgsql: Minor doc tweak: "NOT NULL" is redundant

I hope you mean 'redundant with "PRIMARY KEY" in example'...

Works out the same way though.

Chris

Neil Conway wrote:

Show quoted text

Log Message:
-----------
Minor doc tweak: "NOT NULL" is redundant with "SERIAL" in example.

Modified Files:
--------------
pgsql/doc/src/sgml/ref:
create_domain.sgml (r1.26 -> r1.27)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/create_domain.sgml.diff?r1=1.26&r2=1.27)

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

#3Neil Conway
neilc@samurai.com
In reply to: Christopher Kings-Lynne (#2)
Re: [COMMITTERS] pgsql: Minor doc tweak: "NOT NULL" is

Christopher Kings-Lynne wrote:

I hope you mean 'redundant with "PRIMARY KEY" in example'...

Why? SERIAL implies NOT NULL (although PRIMARY KEY does as well, of course).

-Neil

#4Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Neil Conway (#3)
Re: [COMMITTERS] pgsql: Minor doc tweak: "NOT NULL" is

Why? SERIAL implies NOT NULL (although PRIMARY KEY does as well, of
course).

Ah yes you're right. I mixed up with the fact that SERIAL no longer
implies UNIQUE...

Chris