Did this work in earlier version of Postgres?

Поиск
Список
Период
Сортировка
От Tony Caduto
Тема Did this work in earlier version of Postgres?
Дата
Msg-id 44232FC9.9000309@amsoftwaredesign.com
обсуждение исходный текст
Ответы Re: Did this work in earlier version of Postgres?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Did this work in earlier version of Postgres?  (Rod Taylor <pg@rbt.ca>)
Re: Did this work in earlier version of Postgres?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Did this work in earlier version of Postgres?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
I could have swore that this worked in earlier releases of Postgresql 
i.e. 7.4.

CREATE TABLE public.test
(
junk double NOT NULL,
CONSTRAINT junk_pkey PRIMARY KEY (junk)
)WITHOUT OIDS;

Now it gives a error that type double does not exist.

During the summer of 2004 I ported a large Firebird database to 7.x and 
firebird uses the term double which in PG is a float8 I believe.
Anyway i was able to just paste the Firebird ddl in to the query editor 
and the server would substitute the correct PG native type.

varchar works, how come double does not?

Thanks,

Tony


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SUGGESTION] CVSync
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Did this work in earlier version of Postgres?