Re: [SQL] Problems with default date and time - Mailing list pgsql-sql

From Patrik Kudo
Subject Re: [SQL] Problems with default date and time
Date
Msg-id 37B43252.C74A350A@partitur.se
Whole thread Raw
In response to RE: [SQL] Problems with default date and time  ("Hutton, Rob" <HuttonR@plymart.com>)
List pgsql-sql
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'
>


pgsql-sql by date:

Previous
From: "Hutton, Rob"
Date:
Subject: RE: [SQL] Problems with default date and time
Next
From: Tom Lane
Date:
Subject: Re: [SQL] Problems with default date and time