diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-20 20:36:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-20 20:36:57 +0000 |
commit | 5bb2300b59b74cdc7c8e3f0bf3c8d31c27657670 (patch) | |
tree | 8a0e76a6742884477e5bb50639e9a7ab9ba42872 /contrib/spi/moddatetime.c | |
parent | 99198ac6b8d2003949a02a148f4483e2f95e7dd4 (diff) |
Revise handling of oldstyle/newstyle functions per recent discussions
in pghackers list. Support for oldstyle internal functions is gone
(no longer needed, since conversion is complete) and pg_language entry
'internal' now implies newstyle call convention. pg_language entry
'newC' is gone; both old and newstyle dynamically loaded C functions
are now called language 'C'. A newstyle function must be identified
by an associated info routine. See src/backend/utils/fmgr/README.
Diffstat (limited to 'contrib/spi/moddatetime.c')
-rw-r--r-- | contrib/spi/moddatetime.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/spi/moddatetime.c b/contrib/spi/moddatetime.c index 0229eb8f155..73b15185188 100644 --- a/contrib/spi/moddatetime.c +++ b/contrib/spi/moddatetime.c @@ -17,6 +17,8 @@ OH, me, I'm Terry Mackintosh <terry@terrym.com> extern Datum moddatetime(PG_FUNCTION_ARGS); +PG_FUNCTION_INFO_V1(moddatetime); + Datum moddatetime(PG_FUNCTION_ARGS) { |