NULL in CREATE TABLE - Mailing list pgsql-novice

From Arcady Genkin
Subject NULL in CREATE TABLE
Date
Msg-id 87wvkql4pe.fsf@tea.thpoon.com
Whole thread Raw
List pgsql-novice
According to specifications at
http://www.postgresql.org/docs/user/sql-createtable.htm "CREATE TABLE"
command should accept "NULL" specifier, but I get a parse error every
time I try to use it... "NOT NULL" works just fine.

,----[ Snippage from psql session ]
| antipode=> create table tmp_table ( a char(3) null, b char(4) not null);
| ERROR:  parser: parse error at or near "null"
| antipode=> create table tmp_table ( a char(3) not null, b char(4) not null);
| CREATE
`----

Is this a known problem or is something wrong on my side? I'm running
Postgres 6.5.3 on FreeBSD 4-S.

Thanks!
--
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.

pgsql-novice by date:

Previous
From: Bob Cregan
Date:
Subject: Error on loading
Next
From: Will Smith
Date:
Subject: opening old database