Re: [HACKERS] SPI hacking

From: jwieck(at)debis(dot)com (Jan Wieck)
To: terry(at)terrym(dot)com (Terry Mackintosh)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] SPI hacking
Date: 1998-11-06 20:41:17
Message-ID: m0zbsh3-000EBYC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> Hi all
>
> I started with the contrib/spi/*.c stuff and am working toward a function
> to be used by a trigger to update a datetime field upon doing an UPDATE to
> a record.
>
> It is about ready to test, except one thing :)
>
> Is there a function like GetCurrentAbsoluteTime() that will get the
> current time in a form suitable for inserting into a datetime field?
>
> GetCurrentDatetimeTime() maybe???
> or a convertion function?

What about datetime_in("now") ?

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #

In response to

  • SPI hacking at 1998-11-06 19:39:30 from Terry Mackintosh

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Aitken 1998-11-06 21:15:23 Ultrix 4.4
Previous Message Michael Meskes 1998-11-06 19:48:09 Re: [HACKERS] linux libc6 & pgsql 6.4