From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: kaiq@realtyideas.com
Cc: Andy Lewis <alewis@roundnoon.com>
Cc: Karel Zak - Zakkr <zakkr@zf.jcu.cz>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Datetime operators (was: Re: [SQL] Another Date question)
Date: Fri, 03 Dec 1999 20:06:13 +0000
Message-ID: <384822B5.835F309A@alumni.caltech.edu> (raw)
References: <Pine.LNX.4.10.9912031439170.14529-100000@picasso.realtyideas.com>
> I feel pain about it :-) because that was what I tried, and then,
> since it did not work, I assumed "default" did not accept expressions.
No pain here:
postgres=> create table mymy (mydate datetime
postgres-> default (now() + '60 days'::timespan ));
CREATE
What version are you running??
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: lockhart@alumni.caltech.edu, kaiq@realtyideas.com, alewis@roundnoon.com, zakkr@zf.jcu.cz, pgsql-hackers@postgresql.org
Subject: Re: Datetime operators (was: Re: [SQL] Another Date question)
In-Reply-To: <384822B5.835F309A@alumni.caltech.edu>
References: <Pine.LNX.4.10.9912031439170.14529-100000@picasso.realtyideas.com> <384822B5.835F309A@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox