Open source object-relational database system
C PLpgSQL C++ Yacc Perl Makefile Other
Latest commit 47a74ab Mar 11, 2017 @weltling weltling rename and update patch
Permalink
Failed to load latest commit information.
config
contrib upgrade to postgresql-9.6.2 Mar 11, 2017
doc upgrade to postgresql-9.6.2 Mar 11, 2017
src apply the patch + OpenSSL 1.1 support Mar 11, 2017
.dir-locals.el upgrade to postgresql 9.5.1 Mar 2, 2016
.gitattributes upgrade to postgres-9.6.0 Sep 30, 2016
.gitignore
COPYRIGHT upgrade to postgresql-9.6.2 Mar 11, 2017
GNUmakefile.in upgrade to postgresql 9.5.1 Mar 2, 2016
HISTORY upgraded to postgresql 9.4.4 Jul 24, 2015
INSTALL
Makefile initial add postgres 9.2.2 Jan 31, 2013
README upgraded to postgresql 9.4.4 Jul 24, 2015
README.md update readme Mar 2, 2016
aclocal.m4 upgrade to postgres-9.6.0 Sep 30, 2016
configure upgrade to postgresql-9.6.2 Mar 11, 2017
configure.in upgrade to postgresql-9.6.2 Mar 11, 2017
postgresql-9.6.2.patch rename and update patch Mar 11, 2017

README.md

libpq

Available prebuilt libraries

All prebuilt libraries are available in the php-libs repositories

Building for PHP

Requirements

  • postgres sources, fetch our patched version or the original sources
  • Common tools used to compile PHP
  • openssl libs (optional)

Compilation

cd src
nmake /f win32.mak USE_OPENSSL=1 SSL_INC=<ssl include> SSL_LIB_PATH=<ssl lib>
  • for debug add DEBUG=1
  • for x64 add CPU=AMD64
  • openssl is optional at the time