Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
67fe1075
Commit
67fe1075
authored
Apr 05, 2008
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add dblink_current_query() for backward compatibility.
parent
ceb5db69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
contrib/dblink/dblink.sql.in
contrib/dblink/dblink.sql.in
+6
-1
contrib/dblink/uninstall_dblink.sql
contrib/dblink/uninstall_dblink.sql
+3
-1
No files found.
contrib/dblink/dblink.sql.in
View file @
67fe1075
/* $PostgreSQL: pgsql/contrib/dblink/dblink.sql.in,v 1.1
5 2008/04/04 16:57:21
momjian Exp $ */
/* $PostgreSQL: pgsql/contrib/dblink/dblink.sql.in,v 1.1
6 2008/04/05 02:26:14
momjian Exp $ */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
...
...
@@ -163,6 +163,11 @@ RETURNS text
AS 'MODULE_PATHNAME','dblink_build_sql_update'
LANGUAGE C STRICT;
CREATE OR REPLACE FUNCTION dblink_current_query ()
RETURNS text
AS 'SELECT current_query()'
LANGUAGE SQL;
CREATE OR REPLACE FUNCTION dblink_send_query(text, text)
RETURNS int4
AS 'MODULE_PATHNAME', 'dblink_send_query'
...
...
contrib/dblink/uninstall_dblink.sql
View file @
67fe1075
/* $PostgreSQL: pgsql/contrib/dblink/uninstall_dblink.sql,v 1.
6 2008/04/04 16:57:21
momjian Exp $ */
/* $PostgreSQL: pgsql/contrib/dblink/uninstall_dblink.sql,v 1.
7 2008/04/05 02:26:14
momjian Exp $ */
-- Adjust this setting to control where the objects get dropped.
SET
search_path
=
public
;
DROP
FUNCTION
dblink_current_query
();
DROP
FUNCTION
dblink_build_sql_update
(
text
,
int2vector
,
int4
,
_text
,
_text
);
DROP
FUNCTION
dblink_build_sql_delete
(
text
,
int2vector
,
int4
,
_text
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment