From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Brendan Jurd <direvus@gmail.com>
Cc: pgsql-patches@postgresql.org
Subject: Re: gettime() - a timeofday() alternative
Date: Fri, 12 Aug 2005 22:36:01 -0400 (EDT)
Message-ID: <200508130236.j7D2a1s01765@candle.pha.pa.us> (raw)
In-Reply-To: <37ed240d05080801166be4bd39@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pgman@candle.pha.pa.us, direvus@gmail.com, pgsql-patches@postgresql.org
Subject: Re: gettime() - a timeofday() alternative
In-Reply-To: <200508130236.j7D2a1s01765@candle.pha.pa.us>
References: <37ed240d05080801166be4bd39@mail.gmail.com> <200508130236.j7D2a1s01765@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox