mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-28 17:57:20 +02:00
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.
13 lines
268 B
MySQL
13 lines
268 B
MySQL
DROP FUNCTION timetravel();
|
|
DROP FUNCTION set_timetravel(name, int4);
|
|
|
|
CREATE FUNCTION timetravel()
|
|
RETURNS opaque
|
|
AS 'MODULE_PATHNAME'
|
|
LANGUAGE 'C';
|
|
|
|
CREATE FUNCTION set_timetravel(name, int4)
|
|
RETURNS int4
|
|
AS 'MODULE_PATHNAME'
|
|
LANGUAGE 'C' WITH (isStrict);
|