...

Поиск
Список
Период
Сортировка
От
Тема ...
Дата
Msg-id 20020805215119.33986.qmail@web10707.mail.yahoo.com
обсуждение исходный текст
Ответы Re:  (Ron Johnson <ron.l.johnson@cox.net>)
Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Just a quick, silly question about something that has
been driving me insane for the past 20 minutes: why
does the following generate an error in postgresql
6.5?

create table test2(city varchar(35) NULL );

I am using a program which is supposed to work with
postgresql as a database backend but it generates
queries like that which seem to fail on postgresql
6.5. The error is

ERROR:  parser: parse error at or near "null"

(NOT NULL instead of NULL works fine btw)

Is this only supposed to work in the newer versions or
is the query just plain wrong in any version of
postgresql?


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

В списке pgsql-novice по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Aggregates and Indexes
Следующее
От: "James Kelty"
Дата:
Сообщение: Frustrating