Re: [HACKERS] SPI hacking
Jan Wieck <jwieck@debis.com>
From: jwieck@debis.com (Jan Wieck)
To: terry@terrym.com (Terry Mackintosh)
Cc: hackers@postgreSQL.org
Date: 1998-11-06T20:41:17Z
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@debis.com (Jan Wieck) #