From: | Brendan Jurd <direvus(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: timestamp default values |
Date: | 2005-08-07 05:08:39 |
Message-ID: | 37ed240d050806220874ecc37e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> [ shrug... ] This is just a variant of the choose-a-new-function-name
> game. If we are going to choose a new function name, choosing one that
> collides with an existing name (obsolete or not) doesn't seem like a
> win to me. You could just as well choose another name, and avoid
> angering whoever out there might still be using timenow().
Agreed. It looks like finding a good name for this function would in
fact be the hardest part of adding it ... the namespace for now()-like
functions is quite cluttered.
I'd be inclined to go with "gettime()", but I'm certainly open to suggestions.
> BTW: at least with our current interpretation of these datatypes, the
> only type that is sensible for a now()-like function to return is
> timestamptz. Not plain timestamp; that cannot be considered to
> represent a well-defined instant at all.
True.
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Ben-Nes | 2005-08-07 10:04:51 | Querry and SMP mechine |
Previous Message | Tom Lane | 2005-08-07 04:47:19 | Re: timestamp default values |