FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module.

This commit is contained in:
Andrey Volk
2019-06-07 21:32:00 +04:00
parent 3588cd5c51
commit ccc4ae282a
32 changed files with 2077 additions and 1225 deletions
+18
View File
@@ -0,0 +1,18 @@
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_pgsql
if HAVE_PGSQL
mod_LTLIBRARIES = mod_pgsql.la
mod_pgsql_la_SOURCES = mod_pgsql.c
mod_pgsql_la_CFLAGS = $(AM_CFLAGS) $(POSTGRESQL_CFLAGS)
mod_pgsql_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_pgsql_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(POSTGRESQL_LDFLAGS)
else
install: error
all: error
error:
$(error You must install libpq-dev to build mod_pgsql)
endif