summaryrefslogtreecommitdiffstats
path: root/contrib/dblink/dblink--1.0--1.1.sql
blob: 67293f0ef8ea002a12b8a541278b165ad73c0079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* contrib/dblink/dblink--1.0--1.1.sql */

-- complain if script is sourced in psql, rather than via ALTER EXTENSION
\echo Use "ALTER EXTENSION dblink UPDATE TO '1.1'" to load this file. \quit

CREATE FUNCTION dblink_fdw_validator(
    options text[],
    catalog oid
)
RETURNS void
AS 'MODULE_PATHNAME', 'dblink_fdw_validator'
LANGUAGE C STRICT;

CREATE FOREIGN DATA WRAPPER dblink_fdw VALIDATOR dblink_fdw_validator;