Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd0d75c4

Browse files
committed
Add postgres_fdw contrib module.
There's still a lot of room for improvement, but it basically works,and we need this to be present before we can do anything much with thewritable-foreign-tables patch. So let's commit it and get on with testing.Shigeru Hanada, reviewed by KaiGai Kohei and Tom Lane
1 parentf435cd1 commitd0d75c4

28 files changed

+4839
-55
lines changed

‎contrib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ SUBDIRS = \
4343
pgcrypto\
4444
pgrowlocks\
4545
pgstattuple\
46+
postgres_fdw\
4647
seg\
4748
spi\
4849
tablefunc\

‎contrib/postgres_fdw/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Generated subdirectories
2+
/log/
3+
/results/
4+
/tmp_check/

‎contrib/postgres_fdw/Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# contrib/postgres_fdw/Makefile
2+
3+
MODULE_big = postgres_fdw
4+
OBJS = postgres_fdw.o option.o deparse.o connection.o
5+
6+
PG_CPPFLAGS = -I$(libpq_srcdir)
7+
SHLIB_LINK =$(libpq)
8+
SHLIB_PREREQS = submake-libpq
9+
10+
EXTENSION = postgres_fdw
11+
DATA = postgres_fdw--1.0.sql
12+
13+
REGRESS = postgres_fdw
14+
15+
# the db name is hard-coded in the tests
16+
overrideUSE_MODULE_DB =
17+
18+
ifdefUSE_PGXS
19+
PG_CONFIG = pg_config
20+
PGXS :=$(shell$(PG_CONFIG) --pgxs)
21+
include$(PGXS)
22+
else
23+
subdir = contrib/postgres_fdw
24+
top_builddir = ../..
25+
include$(top_builddir)/src/Makefile.global
26+
include$(top_srcdir)/contrib/contrib-global.mk
27+
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp