SPI hacking - Mailing list pgsql-hackers

From Terry Mackintosh
Subject SPI hacking
Date
Msg-id Pine.LNX.3.95.981106143308.15207A-100000@terry1.acun.com
Whole thread Raw
Responses Re: [HACKERS] SPI hacking  (jwieck@debis.com (Jan Wieck))
List 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?

Thanks
Terry Mackintosh <terry@terrym.com>          http://www.terrym.com
sysadmin/owner  Please! No MIME encoded or HTML mail, unless needed.

Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3
-------------------------------------------------------------------
Success Is A Choice ... book by Rick Patino, get it, read it!



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] SPI hacking