Adding support for Postgres Point as well as PostGIS Geometry/Geography Points

This commit is contained in:
Xavier Stevens
2015-01-20 15:09:29 -08:00
parent 5d4368bbca
commit b211211fdf
5 changed files with 257 additions and 22 deletions

View File

@@ -3,8 +3,8 @@ MODULES = decoderbufs
PROTOBUF_C_CFLAGS = $(shell pkg-config --cflags 'libprotobuf-c >= 1.0.0')
PROTOBUF_C_LDFLAGS = $(shell pkg-config --libs 'libprotobuf-c >= 1.0.0')
PG_CPPFLAGS += -std=c11 $(PROTOBUF_C_CFLAGS)
SHLIB_LINK += $(PROTOBUF_C_LDFLAGS)
PG_CPPFLAGS += -std=c11 $(PROTOBUF_C_CFLAGS) -I/usr/local/include
SHLIB_LINK += $(PROTOBUF_C_LDFLAGS) -L/usr/local/lib -llwgeom
MODULE_big = $(patsubst src/%.c,%,$(wildcard src/*.c))
OBJS = src/decoderbufs.o src/proto/pg_logicaldec.pb-c.o