Skip to content

Commit

Permalink
peerdb_exec (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex authored Aug 20, 2024
1 parent 144893c commit 15ca094
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PG_CPPFLAGS = -I$(libpq_srcdir)
SHLIB_LINK_INTERNAL = $(libpq)

EXTENSION = postgres_fdw
DATA = postgres_fdw--1.0.sql postgres_fdw--1.0--1.1.sql postgres_fdw--1.1--1.2.sql
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

REGRESS = postgres_fdw

Expand Down
7 changes: 7 additions & 0 deletions postgres_fdw--1.2--1.3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
\echo Use "ALTER EXTENSION postgres_fdw UPDATE TO '1.3'" to load this file. \quit

CREATE FUNCTION peerdb_exec (text, text)
RETURNS setof record
AS 'MODULE_PATHNAME','peerdb_exec'
LANGUAGE C STRICT PARALLEL RESTRICTED;
Loading

0 comments on commit 15ca094

Please sign in to comment.