Skip to content

Commit

Permalink
Add BRIN index support for geometry and geography.
Browse files Browse the repository at this point in the history
Patch by Giuseppe Broccolo, Ronan Dunklau and Julien Rouhaud.
  • Loading branch information
rjuju committed Jun 24, 2016
1 parent 31ada60 commit 7f48284
Show file tree
Hide file tree
Showing 23 changed files with 102,346 additions and 101 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Expand Up @@ -444,6 +444,11 @@ if test "x$LIBLWGEOM_ONLY" = "xno"; then
AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.1])
fi

HAVE_BRIN=no
if test $POSTGIS_PGSQL_VERSION -gt 94; then
HAVE_BRIN=yes
fi

dnl Note: We don't need the server-side LDFLAGS or CPPFLAGS because we get these from PGXS

dnl Extract the linker and include flags for the frontend (for programs that use libpq)
Expand Down Expand Up @@ -503,6 +508,7 @@ if test "x$LIBLWGEOM_ONLY" = "xno"; then

AC_DEFINE_UNQUOTED([POSTGIS_PGSQL_VERSION], [$POSTGIS_PGSQL_VERSION], [PostgreSQL server version])
AC_SUBST([POSTGIS_PGSQL_VERSION])
AC_SUBST([HAVE_BRIN])

fi dnl LIBLWGEOM_ONLY != no

Expand Down

0 comments on commit 7f48284

Please sign in to comment.