2002-10-19 02:41:22 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_connect (text)
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_connect'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2003-06-25 09:10:15 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_connect (text, text)
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_connect'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2003-06-25 09:10:15 +08:00
|
|
|
|
2002-10-19 02:41:22 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_disconnect ()
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_disconnect'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2003-06-25 09:10:15 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_disconnect (text)
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_disconnect'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2003-06-25 09:10:15 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_open (text, text)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_open'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_open (text, text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_open'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_open (text, text, text)
|
2003-06-25 09:10:15 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_open'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_open (text, text, text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_open'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2003-06-25 09:10:15 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_fetch (text, int)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_fetch'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_fetch (text, int, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_fetch'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_fetch (text, text, int)
|
2003-06-25 09:10:15 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_fetch'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_fetch (text, text, int, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_fetch'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2003-06-25 09:10:15 +08:00
|
|
|
|
2002-10-19 02:41:22 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_close (text)
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_close'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_close (text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_close'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-09-02 14:13:31 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_close (text, text)
|
2003-06-25 09:10:15 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_close'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_close (text, text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_close'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-09-15 04:28:54 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink (text, text)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_record'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink (text, text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_record'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
|
|
|
CREATE OR REPLACE FUNCTION dblink (text)
|
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_record'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink (text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS setof record
|
|
|
|
AS 'MODULE_PATHNAME','dblink_record'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_exec (text, text)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_exec'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_exec (text, text, boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_exec'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_exec (text)
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_exec'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2004-03-07 10:27:00 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_exec (text,boolean)
|
2004-03-07 10:27:00 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_exec'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-04-24 10:28:28 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE TYPE dblink_pkey_results AS (position int, colname text);
|
2002-09-02 14:13:31 +08:00
|
|
|
|
2002-10-19 02:41:22 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_get_pkey (text)
|
|
|
|
RETURNS setof dblink_pkey_results
|
|
|
|
AS 'MODULE_PATHNAME','dblink_get_pkey'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_build_sql_insert (text, int2vector, int, _text, _text)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_build_sql_insert'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_build_sql_delete (text, int2vector, int, _text)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_build_sql_delete'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
2006-02-28 00:09:50 +08:00
|
|
|
CREATE OR REPLACE FUNCTION dblink_build_sql_update (text, int2vector, int, _text, _text)
|
2002-10-19 02:41:22 +08:00
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_build_sql_update'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C STRICT;
|
2002-10-19 02:41:22 +08:00
|
|
|
|
|
|
|
CREATE OR REPLACE FUNCTION dblink_current_query ()
|
|
|
|
RETURNS text
|
|
|
|
AS 'MODULE_PATHNAME','dblink_current_query'
|
2006-02-28 00:09:50 +08:00
|
|
|
LANGUAGE C;
|