From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Small documentation patch |
Date: | 2003-12-03 07:10:53 |
Message-ID: | 20031203071053.GI9190@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
On Wed, Dec 03, 2003 at 05:59:25PM +1100, Gavin Sherry wrote:
> On Wed, 3 Dec 2003, Christopher Kings-Lynne wrote:
>
> >
> > > + SELECT 'epoch'::timestamp + '1070430858 seconds'::interval;
> > > + <lineannotation>Result: </lineannotation><computeroutput>2003-12-03 05:54:18</computeroutput>
> > > </screen>
> >
> > You could also go:
> >
> > SELECT '1070430858'::abstime;
> >
> > But your way is probably a bit more stable...dunno...
>
> template1=# SELECT '1070430858'::abstime;
> ERROR: invalid input syntax for type abstime: "1070430858"
>
> I agree its more stable :-). That's on HEAD.
>
> Gavin
I like "more stable." "Clearer" is good, too :) :)
Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 cell: +1 415 235 3778
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2003-12-03 07:34:57 | Re: Small documentation patch |
Previous Message | Gavin Sherry | 2003-12-03 06:59:25 | Re: Small documentation patch |