Re: gettime() - a timeofday() alternative - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: gettime() - a timeofday() alternative
Date
Msg-id 200508130236.j7D2a1s01765@candle.pha.pa.us
Whole thread Raw
In response to Re: gettime() - a timeofday() alternative  (Brendan Jurd <direvus@gmail.com>)
List pgsql-patches
This has been saved for the 8.2 release:

    http://momjian.postgresql.org/cgi-bin/pgpatches_hold

---------------------------------------------------------------------------

Brendan Jurd wrote:
> On 8/7/05, Brendan Jurd <direvus@gmail.com> wrote:
> > Hi all,
> >
> > I propose to add an internal function gettime() that transparently
> > returns the current system time, as a timestamptz with maximum
> > precision.
> >
>
> Here's the patch.
>
> The changes to pg_proc.h, timestamp.h and timestamp.c are trivial.
> The changes to func.sgml are more comprehensive; I've split the
> section on Current Date/Time into two subsections, one that explains
> the transaction time functions and one for the system time functions.
>
> --
> BJ

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: createuser patch
Next
From: Alvaro Herrera
Date:
Subject: Re: createuser patch