Re: A creepy story about dates. How to prevent it?

From: Jonathan Bartlett <johnnyb(at)eskimo(dot)com>
To: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: A creepy story about dates. How to prevent it?
Date: 2003-06-19 14:54:11
Message-ID: Pine.GSU.4.44.0306190753350.16766-100000@eskimo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > The problem is that you can't do the check on the _field_ since it has
> > already been converted to a date.
>
> You're right. How about a "before insert" trigger?

This suffers from the same problem, I believe. If I weren't a lazy
bastard, I check it :)

Jon

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-06-19 15:02:51 Re: Incremental backups, and backup history
Previous Message Tom Lane 2003-06-19 14:53:46 Re: A creepy story about dates. How to prevent it?