mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
d15b1e1791
From Joe Conway.
39 lines
1.5 KiB
MySQL
39 lines
1.5 KiB
MySQL
CREATE OR REPLACE FUNCTION dblink (text,text) RETURNS setof int
|
|
AS 'MODULE_PATHNAME','dblink' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_tok (int,int) RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_tok' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_strtok (text,text,int) RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_strtok' LANGUAGE 'c'
|
|
WITH (iscachable, isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_get_pkey (text) RETURNS setof text
|
|
AS 'MODULE_PATHNAME','dblink_get_pkey' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_last_oid (int) RETURNS oid
|
|
AS 'MODULE_PATHNAME','dblink_last_oid' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_build_sql_insert (text, int2vector, int2, _text, _text) RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_build_sql_insert' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_build_sql_delete (text, int2vector, int2, _text) RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_build_sql_delete' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_build_sql_update (text, int2vector, int2, _text, _text) RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_build_sql_update' LANGUAGE 'c'
|
|
WITH (isstrict);
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_current_query () RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_current_query' LANGUAGE 'c';
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_replace (text,text,text) RETURNS text
|
|
AS 'MODULE_PATHNAME','dblink_replace_text' LANGUAGE 'c'
|
|
WITH (iscachable, isstrict);
|