Re: Small documentation patch

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: David Fetter <david(at)fetter(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Small documentation patch
Date: 2003-12-03 06:59:25
Message-ID: Pine.LNX.4.58.0312031758560.24095@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message David Fetter 2003-12-03 07:10:53 Re: Small documentation patch
Previous Message Christopher Kings-Lynne 2003-12-03 06:50:44 Re: Small documentation patch