Re: [GENERAL] domain+enum

2009-01-12 Thread Grzegorz Jaśkiewicz
Tom, will you guys consider changing that for 8.4 ? I know there was a discussion about that on hackers, and everyone pretty much agreed it would be nice to fix it - so it works as expected. thanks. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your sub

[GENERAL] domain+enum

2008-12-07 Thread Grzegorz Jaśkiewicz
One thing I don't understand, can someone please explain that to me: (that's on 8.4, but it "works" same way on 8.3) CREATE TYPE rcount AS ENUM ( 'one', 'two', 'three' ); CREATE DOMAIN foocount AS rcount DEFAULT 'one' NOT NULL; CREATE DOMAIN foostamp AS bigint NOT NULL DEFAULT (EXTRACT(epo