Restore initdb's old behavior of always setting the lc_xxx GUCs.
[pgsql.git] / contrib / postgres_fdw / postgres_fdw--1.0.sql
bloba0f0fc1bf455a8935bd43e4f7535c1e1203a1c0a
1 /* contrib/postgres_fdw/postgres_fdw--1.0.sql */
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
6 CREATE FUNCTION postgres_fdw_handler()
7 RETURNS fdw_handler
8 AS 'MODULE_PATHNAME'
9 LANGUAGE C STRICT;
11 CREATE FUNCTION postgres_fdw_validator(text[], oid)
12 RETURNS void
13 AS 'MODULE_PATHNAME'
14 LANGUAGE C STRICT;
16 CREATE FOREIGN DATA WRAPPER postgres_fdw
17   HANDLER postgres_fdw_handler
18   VALIDATOR postgres_fdw_validator;