Skip to content

Commit 15ca094

Browse files
authored
peerdb_exec (#9)
1 parent 144893c commit 15ca094

File tree

4 files changed

+418
-5
lines changed

4 files changed

+418
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PG_CPPFLAGS = -I$(libpq_srcdir)
1515
SHLIB_LINK_INTERNAL = $(libpq)
1616

1717
EXTENSION = postgres_fdw
18-
DATA = postgres_fdw--1.0.sql postgres_fdw--1.0--1.1.sql postgres_fdw--1.1--1.2.sql
18+
DATA = postgres_fdw--1.0.sql postgres_fdw--1.0--1.1.sql postgres_fdw--1.1--1.2.sql postgres_fdw--1.2--1.3.sql
1919

2020
REGRESS = postgres_fdw
2121

postgres_fdw--1.2--1.3.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
2+
\echo Use "ALTER EXTENSION postgres_fdw UPDATE TO '1.3'" to load this file. \quit
3+
4+
CREATE FUNCTION peerdb_exec (text, text)
5+
RETURNS setof record
6+
AS 'MODULE_PATHNAME','peerdb_exec'
7+
LANGUAGE C STRICT PARALLEL RESTRICTED;

0 commit comments

Comments
 (0)