Skip to content

Commit 470b2dc

Browse files
committed
Make dblink_current_query() reference pg_catalog.current_query(), per Tom.
1 parent 67fe107 commit 470b2dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/dblink/dblink.sql.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/contrib/dblink/dblink.sql.in,v 1.16 2008/04/05 02:26:14 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/contrib/dblink/dblink.sql.in,v 1.17 2008/04/05 02:44:42 momjian Exp $ */
22

33
-- Adjust this setting to control where the objects get created.
44
SET search_path = public;
@@ -165,7 +165,7 @@ LANGUAGE C STRICT;
165165

166166
CREATE OR REPLACE FUNCTION dblink_current_query ()
167167
RETURNS text
168-
AS 'SELECT current_query()'
168+
AS 'SELECT pg_catalog.current_query()'
169169
LANGUAGE SQL;
170170

171171
CREATE OR REPLACE FUNCTION dblink_send_query(text, text)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy