Skip to content

Commit 28782dd

Browse files
stalkergvbwagner
authored andcommitted
Add sr_plan contrib module.
1 parent 89a5faa commit 28782dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+53319
-0
lines changed

contrib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ SUBDIRS = \
4040
postgres_fdw \
4141
seg \
4242
spi \
43+
sr_plan \
4344
tablefunc \
4445
tcn \
4546
test_decoding \

contrib/sr_plan/Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# contrib/sr_plan/Makefile
2+
3+
MODULE_big = sr_plan
4+
OBJS = sr_plan.o serialize.o deserialize.o $(WIN32RES)
5+
6+
EXTENSION = sr_plan
7+
DATA = sr_plan--1.0.sql sr_plan--unpackaged--1.0.sql
8+
PGFILEDESC = "sr_plan - save and read plan"
9+
10+
REGRESS = sr_plan
11+
12+
ifdef USE_PGXS
13+
PG_CONFIG = pg_config
14+
PGXS := $(shell $(PG_CONFIG) --pgxs)
15+
include $(PGXS)
16+
else
17+
subdir = contrib/intarray
18+
top_builddir = ../..
19+
include $(top_builddir)/src/Makefile.global
20+
include $(top_srcdir)/contrib/contrib-global.mk
21+
endif
22+
23+
24+
genparser:
25+
# test -d sr_plan_env ||
26+
python gen_parser.py nodes.h `pg_config --includedir-server`

contrib/sr_plan/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# sr_plan

0 commit comments

Comments
 (0)