Re: Did this work in earlier version of Postgres? - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Did this work in earlier version of Postgres?
Date
Msg-id 1143156958.79972.135.camel@home
Whole thread Raw
In response to Did this work in earlier version of Postgres?  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Responses Re: Did this work in earlier version of Postgres?
Re: Did this work in earlier version of Postgres?
List pgsql-hackers
On Thu, 2006-03-23 at 17:31 -0600, Tony Caduto wrote:
> 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.

CREATE DOMAIN double AS float8;

There, now the type exists ;)

-- 



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Did this work in earlier version of Postgres?
Next
From: Tom Lane
Date:
Subject: Re: Did this work in earlier version of Postgres?