mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Another round of updates for new fmgr, mostly in the datetime code.
This commit is contained in:
@ -62,7 +62,8 @@ moddatetime(PG_FUNCTION_ARGS)
|
||||
tupdesc = rel->rd_att;
|
||||
|
||||
/* Get the current datetime. */
|
||||
newdt = (Datum) timestamp_in("now");
|
||||
newdt = DirectFunctionCall1(timestamp_in,
|
||||
CStringGetDatum("now"));
|
||||
|
||||
/*
|
||||
* This gets the position in the turple of the field we want. args[0]
|
||||
|
Reference in New Issue
Block a user