From: Patrik Kudo <kudo@partitur.se>
To: Hutton, Rob <HuttonR@plymart.com>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] Problems with default date and time
Date: Fri, 13 Aug 1999 16:57:22 +0200
Message-ID: <37B43252.C74A350A@partitur.se> (raw)
References: <11EFC736FB68D111B9DD00805FAD7C6D1E0C37@plymartpdc.internal.plymart.com>
Sorry... I couldn't get the ord_time and ord_date fields
working either. =/
Will the ord_time/date/timestamp ever differ from
eachother? If not, I think you'll still be able to
do what you want to do even after removing the time
and date fields as these can be fetched from the
timestamp field.
/Kudo
>
> -----Original Message-----
> From: Hutton, Rob
> Sent: Friday, August 13, 1999 10:25 AM
> To: 'Patrik Kudo'; Hutton, Rob
> Cc: 'pgsql-sql@postgresql.org'
> Subject: RE: [SQL] Problems with default date and time
>
> The time and date fields are for reporting purposes while the
> timestamp is for calculating elapsed time, so I need all of them.
> When I make those changes, I get:
>
> ERROR: DEFAULT clause type 'timestamp' mismatched with column type
> 'time'
>
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: kudo@partitur.se, HuttonR@plymart.com
Subject: Re: [SQL] Problems with default date and time
In-Reply-To: <37B43252.C74A350A@partitur.se>
References: <11EFC736FB68D111B9DD00805FAD7C6D1E0C37@plymartpdc.internal.plymart.com> <37B43252.C74A350A@partitur.se>
* 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