-- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
I'm trying to set [now(), 2049-12-31 00:00:00) as the default for a
tsrange column (Postgres 9.2), but can't figure out how to do it. I'm
either getting syntax errors or now() is being evaluated, so that the
default becomes something like [2012-07-14 14:04:35, 2049-12-31
00:00:00), which is not what I want. Can anyone point me in the right
direction, please?
- [GENERAL] Can't figure out how to use now() in default fo... Chris Bartlett
- Re: [GENERAL] Can't figure out how to use now() in d... Tom Lane
- Re: [GENERAL] Can't figure out how to use now() in d... Alban Hertroys
- Re: [GENERAL] Can't figure out how to use now() ... Craig Ringer
- Re: [GENERAL] Can't figure out how to use no... Daniele Varrazzo
- Re: [GENERAL] Can't figure out how to us... Alban Hertroys
- Re: [GENERAL] Can't figure out how ... David Johnston
- Re: [GENERAL] Can't figure out ... Daniele Varrazzo
- Re: [GENERAL] Can't figure ... Chris Bartlett
- Re: [GENERAL] Can't figure ... Daniele Varrazzo
- Re: [GENERAL] Can't figure ... Tom Lane