File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
.\" This is -*-nroff-*-
2
2
.\" XXX standard disclaimer belongs here....
3
- .\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.9 1997/10/01 17:05:13 thomas Exp $
3
+ .\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.10 1997/10/02 02:50:22 vadim Exp $
4
4
.TH "CREATE TABLE" SQL 09/25/97 PostgreSQL
5
5
.SH NAME
6
6
create table \(em create a new class
7
7
.SH SYNOPSIS
8
8
.nf
9
9
\fB create table \fR classname \fB ( \fP attname type [not null] [\fB default \fP value]
10
- [\fB , \fP attname type [\fB not null \fP ] [\fB default \fP value ] ]\fB ) \fP
10
+ [\fB , \fP attname type [\fB default \fP value ] [\fB not null \fP ] ]\fB ) \fP
11
11
[\fB inherits \fR \fB ( \fR classname [\fB , \fR classname] \fB ) \fR ]
12
12
[\fB constraint \fR cname \fB check \fR \fB ( \fR test \fB ) \fR [, \fB check \fR \fB ( \fR test \fB ) \fR ] ]
13
13
[\fB archive \fR \fB = \fR archive_mode]
@@ -29,6 +29,8 @@ Each attribute may be specified to be non-null and
29
29
each may have a default value, specified by the
30
30
.IR default
31
31
clause which is the keyword "default" followed by a constant or expression.
32
+ \fB Note \fR : DEFAULT in version 6.2 works like constraint - there is no
33
+ way to insert NULL into an attribute having DEFAULT value.
32
34
.PP
33
35
Each array attribute stores arrays that must have the same number of
34
36
dimensions but may have different sizes and array index bounds. An
You can’t perform that action at this time.
0 commit comments