Skip to content

Commit a4d69a4

Browse files
author
Neil Conway
committed
Minor doc tweak: "NOT NULL" is redundant with "SERIAL" in example.
1 parent c45eb53 commit a4d69a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/ref/create_domain.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.26 2005/11/04 23:14:02 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.27 2005/12/25 01:41:15 neilc Exp $
33
PostgreSQL documentation
44
-->
55

@@ -20,7 +20,7 @@ PostgreSQL documentation
2020

2121
<refsynopsisdiv>
2222
<synopsis>
23-
CREATE DOMAIN <replaceable class="parameter">name</replaceable> [AS] <replaceable class="parameter">data_type</replaceable>
23+
CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replaceable class="parameter">data_type</replaceable>
2424
[ DEFAULT <replaceable>expression</> ]
2525
[ <replaceable class="PARAMETER">constraint</replaceable> [ ... ] ]
2626

@@ -185,7 +185,7 @@ OR VALUE ~ '^\\d{5}-\\d{4}$'
185185
);
186186

187187
CREATE TABLE us_snail_addy (
188-
address_id SERIAL NOT NULL PRIMARY KEY
188+
address_id SERIAL PRIMARY KEY
189189
, street1 TEXT NOT NULL
190190
, street2 TEXT
191191
, street3 TEXT

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy