1/* contrib/postgres_fdw/postgres_fdw--1.0.sql */
2
3-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4\echo Use "CREATE EXTENSION postgres_fdw" to load this file. \quit
5
6CREATE FUNCTION postgres_fdw_handler()
7RETURNS fdw_handler
8AS 'MODULE_PATHNAME'
9LANGUAGE C STRICT;
10
11CREATE FUNCTION postgres_fdw_validator(text[], oid)
12RETURNS void
13AS 'MODULE_PATHNAME'
14LANGUAGE C STRICT;
15
16CREATE FOREIGN DATA WRAPPER postgres_fdw
17  HANDLER postgres_fdw_handler
18  VALIDATOR postgres_fdw_validator;
19