Debian Codegraph @

contrib/postgres_fdw/postgres_fdw--1.0.sql

raw
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
6 CREATE FUNCTION postgres_fdw_handler()
7 RETURNS fdw_handler
8 AS 'MODULE_PATHNAME'
9 LANGUAGE C STRICT;
10
11 CREATE FUNCTION postgres_fdw_validator(text[], oid)
12 RETURNS void
13 AS 'MODULE_PATHNAME'
14 LANGUAGE C STRICT;
15
16 CREATE FOREIGN DATA WRAPPER postgres_fdw
17 HANDLER postgres_fdw_handler
18 VALIDATOR postgres_fdw_validator;