~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to contrib/dblink/dblink.sql.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $PostgreSQL: pgsql/contrib/dblink/dblink.sql.in,v 1.17 2008/04/05 02:44:42 momjian Exp $ */
 
1
/* $PostgreSQL: pgsql/contrib/dblink/dblink.sql.in,v 1.18 2009/06/09 17:41:02 tgl Exp $ */
2
2
 
3
3
-- Adjust this setting to control where the objects get created.
4
4
SET search_path = public;
165
165
 
166
166
CREATE OR REPLACE FUNCTION dblink_current_query ()
167
167
RETURNS text
168
 
AS 'SELECT pg_catalog.current_query()'
169
 
LANGUAGE SQL;
 
168
AS 'MODULE_PATHNAME','dblink_current_query'
 
169
LANGUAGE C;
170
170
 
171
171
CREATE OR REPLACE FUNCTION dblink_send_query(text, text)
172
172
RETURNS int4