Re: [HACKERS] SPI hacking
От | jwieck@debis.com (Jan Wieck) |
---|---|
Тема | Re: [HACKERS] SPI hacking |
Дата | |
Msg-id | m0zbsh3-000EBYC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Ответ на | SPI hacking (Terry Mackintosh <terry@terrym.com>) |
Ответы |
New SPI contrib stuff, was Re: [HACKERS] SPI hacking
|
Список | 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) #
В списке pgsql-hackers по дате отправления: