Update to PostgreSQL 9.6.1

This moves pg_upgrade to a subpackage, and has that
subpackage depend on postgresql-previous.

pthread is removed from WANTLIB, as it is no longer
needed for suppoting threaded extensions.

This adds support for PostgreSQL 9.6's new BSD
authentication.

OK pea@ landry@
This commit is contained in:
jeremy 2016-12-18 18:18:27 +00:00
parent ad4d60a34e
commit 55e0b1aa19
13 changed files with 230 additions and 80 deletions

View File

@ -1,32 +1,30 @@
# $OpenBSD: Makefile,v 1.218 2016/09/10 13:03:41 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.219 2016/12/18 18:18:27 jeremy Exp $
COMMENT-main= PostgreSQL RDBMS (client)
COMMENT-server= PostgreSQL RDBMS (server)
COMMENT-docs= PostgreSQL RDBMS documentation
COMMENT-contrib=PostgreSQL RDBMS contributions
COMMENT-plpython=Python procedural language for PostgreSQL
COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
# DO NOT FORGET to also change the @ask-update entry in pkg/PLIST-server
# in case a dump before / restore after pkg_add -u is required!
VERSION= 9.5.4
VERSION= 9.6.1
DISTNAME= postgresql-${VERSION}
PKGNAME-main= postgresql-client-${VERSION}
PKGNAME-server= postgresql-server-${VERSION}
PKGNAME-docs= postgresql-docs-${VERSION}
PKGNAME-contrib=postgresql-contrib-${VERSION}
PKGNAME-plpython=postgresql-plpython-${VERSION}
REVISION-contrib= 0
REVISION-docs= 0
REVISION-main= 0
REVISION-plpython= 0
REVISION-server=0
PKGNAME-pg_upgrade=postgresql-pg_upgrade-${VERSION}
CATEGORIES= databases
SHARED_LIBS= ecpg 7.7 \
ecpg_compat 4.7 \
pgtypes 4.6 \
pq 6.8
SHARED_LIBS= ecpg 7.8 \
ecpg_compat 4.8 \
pgtypes 4.7 \
pq 6.9
HOMEPAGE= http://www.postgresql.org/
@ -35,11 +33,11 @@ MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c crypto m readline ssl termcap z pthread
WANTLIB += c crypto m readline ssl termcap z
MASTER_SITES= https://ftp.postgresql.org/pub/source/v${VERSION}/ \
ftp://ftp.postgresql.org/pub/source/v${VERSION}/
MULTI_PACKAGES= -docs -main -server -contrib -plpython
MULTI_PACKAGES= -docs -main -server -contrib -pg_upgrade -plpython
MAKE_FILE= GNUmakefile
@ -58,6 +56,7 @@ CONFIGURE_ENV= ac_cv_path_PYTHON=${MODPY_BIN} \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-rpath --with-openssl=/usr \
--with-bsd-auth \
--with-perl \
--with-python \
--with-pam=no \
@ -93,12 +92,18 @@ WANTLIB-main = ${WANTLIB} xml2
LIB_DEPENDS-server= databases/postgresql=${VERSION} \
${LIB_DEPENDS-main}
WANTLIB-server= ${WANTLIB-main} perl pq>=4
RUN_DEPENDS-contrib= databases/postgresql,-server=${VERSION}
RUN_DEPENDS-contrib= databases/postgresql,-server=${VERSION}
LIB_DEPENDS-contrib= databases/postgresql=${VERSION} \
${LIB_DEPENDS-main}
WANTLIB-contrib= ${WANTLIB-main} pq>=4
RUN_DEPENDS-pg_upgrade= databases/postgresql,-server=${VERSION} \
databases/postgresql-previous
LIB_DEPENDS-pg_upgrade= databases/postgresql=${VERSION} \
${LIB_DEPENDS-main}
WANTLIB-pg_upgrade= ${WANTLIB-main} pq>=4
LIB_DEPENDS-plpython= ${MODPY_LIB_DEPENDS}
WANTLIB-plpython = c m pthread util \
${MODPY_WANTLIB}
@ -107,7 +112,6 @@ RUN_DEPENDS-plpython= databases/postgresql,-server=${VERSION}
WANTLIB-docs=
PKG_ARCH-docs= *
WANTLIB-server+= util
MAKE_ENV= LIBpq_MAJOR=${LIBpq_VERSION:R} \
LIBpq_MINOR=${LIBpq_VERSION:E} \

View File

@ -1,2 +1,2 @@
SHA256 (postgresql-9.5.4.tar.gz) = McKqi23g52egR6WFo97HYrEFHQBBUlSX3RV5ulqGHmg=
SIZE (postgresql-9.5.4.tar.gz) = 24139834
SHA256 (postgresql-9.6.1.tar.gz) = uFJ12obiOYFZGGXOGE6lkR93UGiIIVszSSm4GOtr+2E=
SIZE (postgresql-9.6.1.tar.gz) = 25172850

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-src_interfaces_ecpg_compatlib_Makefile,v 1.11 2016/05/13 14:27:48 pea Exp $
--- src/interfaces/ecpg/compatlib/Makefile.orig Mon Feb 8 21:15:19 2016
+++ src/interfaces/ecpg/compatlib/Makefile Fri Feb 12 17:18:09 2016
@@ -14,8 +14,8 @@ top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
$OpenBSD: patch-src_interfaces_ecpg_compatlib_Makefile,v 1.12 2016/12/18 18:18:27 jeremy Exp $
--- src/interfaces/ecpg/compatlib/Makefile.orig Mon Jul 18 22:54:26 2016
+++ src/interfaces/ecpg/compatlib/Makefile Wed Aug 3 15:53:41 2016
@@ -15,8 +15,8 @@ include $(top_builddir)/src/Makefile.global
PGFILEDESC = "ECPG compat - compatibility library for ECPG"
NAME= ecpg_compat
-SO_MAJOR_VERSION= 3
-SO_MINOR_VERSION= 7
-SO_MINOR_VERSION= 8
+SO_MAJOR_VERSION= ${LIBecpg_compat_MAJOR}
+SO_MINOR_VERSION= ${LIBecpg_compat_MINOR}
override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils -DFRONTEND $(CPPFLAGS)
-I$(libpq_srcdir) -DFRONTEND $(CPPFLAGS)

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-src_interfaces_ecpg_ecpglib_Makefile,v 1.10 2016/05/13 14:27:48 pea Exp $
--- src/interfaces/ecpg/ecpglib/Makefile.orig Sun May 11 14:16:48 2014
+++ src/interfaces/ecpg/ecpglib/Makefile Thu May 15 21:52:50 2014
@@ -14,8 +14,8 @@ top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
$OpenBSD: patch-src_interfaces_ecpg_ecpglib_Makefile,v 1.11 2016/12/18 18:18:27 jeremy Exp $
--- src/interfaces/ecpg/ecpglib/Makefile.orig Mon Jul 18 22:54:26 2016
+++ src/interfaces/ecpg/ecpglib/Makefile Wed Aug 3 15:54:25 2016
@@ -15,8 +15,8 @@ include $(top_builddir)/src/Makefile.global
PGFILEDESC = "ECPG - embedded SQL in C"
NAME= ecpg
-SO_MAJOR_VERSION= 6
-SO_MINOR_VERSION= 7
-SO_MINOR_VERSION= 8
+SO_MAJOR_VERSION= ${LIBecpg_MAJOR}
+SO_MINOR_VERSION= ${LIBecpg_MINOR}

View File

@ -1,15 +1,14 @@
$OpenBSD: patch-src_interfaces_ecpg_pgtypeslib_Makefile,v 1.11 2016/05/13 14:27:48 pea Exp $
--- src/interfaces/ecpg/pgtypeslib/Makefile.orig Mon Feb 8 21:15:19 2016
+++ src/interfaces/ecpg/pgtypeslib/Makefile Fri Feb 12 17:18:09 2016
@@ -14,8 +14,9 @@ top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
$OpenBSD: patch-src_interfaces_ecpg_pgtypeslib_Makefile,v 1.12 2016/12/18 18:18:27 jeremy Exp $
--- src/interfaces/ecpg/pgtypeslib/Makefile.orig Mon Jul 18 22:54:26 2016
+++ src/interfaces/ecpg/pgtypeslib/Makefile Wed Aug 3 15:55:16 2016
@@ -15,8 +15,8 @@ include $(top_builddir)/src/Makefile.global
PGFILEDESC = "pgtypes - library for data type mapping"
NAME= pgtypes
-SO_MAJOR_VERSION= 3
-SO_MINOR_VERSION= 6
-SO_MINOR_VERSION= 7
+SO_MAJOR_VERSION= ${LIBpgtypes_MAJOR}
+SO_MINOR_VERSION= ${LIBpgtypes_MINOR}
+
override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
-I$(top_srcdir)/src/include/utils -I$(libpq_srcdir) -DFRONTEND $(CPPFLAGS)
-DFRONTEND $(CPPFLAGS)

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-src_interfaces_libpq_Makefile,v 1.12 2016/05/13 14:27:48 pea Exp $
--- src/interfaces/libpq/Makefile.orig Mon May 6 13:57:06 2013
+++ src/interfaces/libpq/Makefile Thu May 16 15:10:02 2013
$OpenBSD: patch-src_interfaces_libpq_Makefile,v 1.13 2016/12/18 18:18:27 jeremy Exp $
--- src/interfaces/libpq/Makefile.orig Mon Jul 18 22:54:26 2016
+++ src/interfaces/libpq/Makefile Wed Aug 3 15:58:08 2016
@@ -16,8 +16,8 @@ include $(top_builddir)/src/Makefile.global
# shared library parameters
NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 8
-SO_MINOR_VERSION= 9
+SO_MAJOR_VERSION= ${LIBpq_MAJOR}
+SO_MINOR_VERSION= ${LIBpq_MINOR}

View File

@ -0,0 +1,3 @@
Contains pg_upgrade, used for upgrading PostgreSQL database
directories to newer major versions without requiring a dump and
reload.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-contrib,v 1.15 2016/08/17 09:43:46 pea Exp $
@comment $OpenBSD: PLIST-contrib,v 1.16 2016/12/18 18:18:27 jeremy Exp $
@conflict postgresql-uuid-*
@conflict postgresql-server-<8.4.3
@pkgpath devel/uuid,-pgsql
@ -7,7 +7,6 @@
@bin bin/pg_standby
@bin bin/pg_test_fsync
@bin bin/pg_test_timing
@bin bin/pg_upgrade
@bin bin/pgbench
@bin bin/vacuumlo
lib/postgresql/_int.so
@ -15,6 +14,7 @@ lib/postgresql/adminpack.so
lib/postgresql/auth_delay.so
lib/postgresql/auto_explain.so
lib/postgresql/autoinc.so
lib/postgresql/bloom.so
lib/postgresql/btree_gin.so
lib/postgresql/btree_gist.so
lib/postgresql/chkpass.so
@ -40,6 +40,7 @@ lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_prewarm.so
lib/postgresql/pg_stat_statements.so
lib/postgresql/pg_trgm.so
lib/postgresql/pg_visibility.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
@ -61,7 +62,6 @@ lib/postgresql/uuid-ossp.so
@man man/man1/pg_standby.1
@man man/man1/pg_test_fsync.1
@man man/man1/pg_test_timing.1
@man man/man1/pg_upgrade.1
@man man/man1/pgbench.1
@man man/man1/vacuumlo.1
share/postgresql/extension/adminpack--1.0.sql
@ -69,25 +69,33 @@ share/postgresql/extension/adminpack.control
share/postgresql/extension/autoinc--1.0.sql
share/postgresql/extension/autoinc--unpackaged--1.0.sql
share/postgresql/extension/autoinc.control
share/postgresql/extension/bloom--1.0.sql
share/postgresql/extension/bloom.control
share/postgresql/extension/btree_gin--1.0.sql
share/postgresql/extension/btree_gin--unpackaged--1.0.sql
share/postgresql/extension/btree_gin.control
share/postgresql/extension/btree_gist--1.0--1.1.sql
share/postgresql/extension/btree_gist--1.1.sql
share/postgresql/extension/btree_gist--1.1--1.2.sql
share/postgresql/extension/btree_gist--1.2.sql
share/postgresql/extension/btree_gist--unpackaged--1.0.sql
share/postgresql/extension/btree_gist.control
share/postgresql/extension/chkpass--1.0.sql
share/postgresql/extension/chkpass--unpackaged--1.0.sql
share/postgresql/extension/chkpass.control
share/postgresql/extension/citext--1.0--1.1.sql
share/postgresql/extension/citext--1.1.sql
share/postgresql/extension/citext--1.1--1.2.sql
share/postgresql/extension/citext--1.2--1.3.sql
share/postgresql/extension/citext--1.3.sql
share/postgresql/extension/citext--unpackaged--1.0.sql
share/postgresql/extension/citext.control
share/postgresql/extension/cube--1.0.sql
share/postgresql/extension/cube--1.0--1.1.sql
share/postgresql/extension/cube--1.1--1.2.sql
share/postgresql/extension/cube--1.2.sql
share/postgresql/extension/cube--unpackaged--1.0.sql
share/postgresql/extension/cube.control
share/postgresql/extension/dblink--1.0--1.1.sql
share/postgresql/extension/dblink--1.1.sql
share/postgresql/extension/dblink--1.1--1.2.sql
share/postgresql/extension/dblink--1.2.sql
share/postgresql/extension/dblink--unpackaged--1.0.sql
share/postgresql/extension/dblink.control
share/postgresql/extension/dict_int--1.0.sql
@ -96,18 +104,21 @@ share/postgresql/extension/dict_int.control
share/postgresql/extension/dict_xsyn--1.0.sql
share/postgresql/extension/dict_xsyn--unpackaged--1.0.sql
share/postgresql/extension/dict_xsyn.control
share/postgresql/extension/earthdistance--1.0.sql
share/postgresql/extension/earthdistance--1.0--1.1.sql
share/postgresql/extension/earthdistance--1.1.sql
share/postgresql/extension/earthdistance--unpackaged--1.0.sql
share/postgresql/extension/earthdistance.control
share/postgresql/extension/file_fdw--1.0.sql
share/postgresql/extension/file_fdw.control
share/postgresql/extension/fuzzystrmatch--1.0.sql
share/postgresql/extension/fuzzystrmatch--1.0--1.1.sql
share/postgresql/extension/fuzzystrmatch--1.1.sql
share/postgresql/extension/fuzzystrmatch--unpackaged--1.0.sql
share/postgresql/extension/fuzzystrmatch.control
share/postgresql/extension/hstore--1.0--1.1.sql
share/postgresql/extension/hstore--1.1--1.2.sql
share/postgresql/extension/hstore--1.2--1.3.sql
share/postgresql/extension/hstore--1.3.sql
share/postgresql/extension/hstore--1.3--1.4.sql
share/postgresql/extension/hstore--1.4.sql
share/postgresql/extension/hstore--unpackaged--1.0.sql
share/postgresql/extension/hstore.control
share/postgresql/extension/hstore_plperl--1.0.sql
@ -123,19 +134,25 @@ share/postgresql/extension/hstore_plpythonu.control
share/postgresql/extension/insert_username--1.0.sql
share/postgresql/extension/insert_username--unpackaged--1.0.sql
share/postgresql/extension/insert_username.control
share/postgresql/extension/intagg--1.0.sql
share/postgresql/extension/intagg--1.0--1.1.sql
share/postgresql/extension/intagg--1.1.sql
share/postgresql/extension/intagg--unpackaged--1.0.sql
share/postgresql/extension/intagg.control
share/postgresql/extension/intarray--1.0.sql
share/postgresql/extension/intarray--1.0--1.1.sql
share/postgresql/extension/intarray--1.1--1.2.sql
share/postgresql/extension/intarray--1.2.sql
share/postgresql/extension/intarray--unpackaged--1.0.sql
share/postgresql/extension/intarray.control
share/postgresql/extension/isn--1.0.sql
share/postgresql/extension/isn--1.0--1.1.sql
share/postgresql/extension/isn--1.1.sql
share/postgresql/extension/isn--unpackaged--1.0.sql
share/postgresql/extension/isn.control
share/postgresql/extension/lo--1.0.sql
share/postgresql/extension/lo--1.0--1.1.sql
share/postgresql/extension/lo--1.1.sql
share/postgresql/extension/lo--unpackaged--1.0.sql
share/postgresql/extension/lo.control
share/postgresql/extension/ltree--1.0.sql
share/postgresql/extension/ltree--1.0--1.1.sql
share/postgresql/extension/ltree--1.1.sql
share/postgresql/extension/ltree--unpackaged--1.0.sql
share/postgresql/extension/ltree.control
share/postgresql/extension/ltree_plpython2u--1.0.sql
@ -150,41 +167,55 @@ share/postgresql/extension/moddatetime.control
share/postgresql/extension/pageinspect--1.0--1.1.sql
share/postgresql/extension/pageinspect--1.1--1.2.sql
share/postgresql/extension/pageinspect--1.2--1.3.sql
share/postgresql/extension/pageinspect--1.3.sql
share/postgresql/extension/pageinspect--1.3--1.4.sql
share/postgresql/extension/pageinspect--1.4--1.5.sql
share/postgresql/extension/pageinspect--1.5.sql
share/postgresql/extension/pageinspect--unpackaged--1.0.sql
share/postgresql/extension/pageinspect.control
share/postgresql/extension/pg_buffercache--1.0--1.1.sql
share/postgresql/extension/pg_buffercache--1.1.sql
share/postgresql/extension/pg_buffercache--1.1--1.2.sql
share/postgresql/extension/pg_buffercache--1.2.sql
share/postgresql/extension/pg_buffercache--unpackaged--1.0.sql
share/postgresql/extension/pg_buffercache.control
share/postgresql/extension/pg_freespacemap--1.0.sql
share/postgresql/extension/pg_freespacemap--1.0--1.1.sql
share/postgresql/extension/pg_freespacemap--1.1.sql
share/postgresql/extension/pg_freespacemap--unpackaged--1.0.sql
share/postgresql/extension/pg_freespacemap.control
share/postgresql/extension/pg_prewarm--1.0.sql
share/postgresql/extension/pg_prewarm--1.0--1.1.sql
share/postgresql/extension/pg_prewarm--1.1.sql
share/postgresql/extension/pg_prewarm.control
share/postgresql/extension/pg_stat_statements--1.0--1.1.sql
share/postgresql/extension/pg_stat_statements--1.1--1.2.sql
share/postgresql/extension/pg_stat_statements--1.2--1.3.sql
share/postgresql/extension/pg_stat_statements--1.3.sql
share/postgresql/extension/pg_stat_statements--1.3--1.4.sql
share/postgresql/extension/pg_stat_statements--1.4.sql
share/postgresql/extension/pg_stat_statements--unpackaged--1.0.sql
share/postgresql/extension/pg_stat_statements.control
share/postgresql/extension/pg_trgm--1.0--1.1.sql
share/postgresql/extension/pg_trgm--1.1.sql
share/postgresql/extension/pg_trgm--1.1--1.2.sql
share/postgresql/extension/pg_trgm--1.2--1.3.sql
share/postgresql/extension/pg_trgm--1.3.sql
share/postgresql/extension/pg_trgm--unpackaged--1.0.sql
share/postgresql/extension/pg_trgm.control
share/postgresql/extension/pg_visibility--1.0--1.1.sql
share/postgresql/extension/pg_visibility--1.1.sql
share/postgresql/extension/pg_visibility.control
share/postgresql/extension/pgcrypto--1.0--1.1.sql
share/postgresql/extension/pgcrypto--1.1--1.2.sql
share/postgresql/extension/pgcrypto--1.2.sql
share/postgresql/extension/pgcrypto--1.2--1.3.sql
share/postgresql/extension/pgcrypto--1.3.sql
share/postgresql/extension/pgcrypto--unpackaged--1.0.sql
share/postgresql/extension/pgcrypto.control
share/postgresql/extension/pgrowlocks--1.0--1.1.sql
share/postgresql/extension/pgrowlocks--1.1.sql
share/postgresql/extension/pgrowlocks--1.1--1.2.sql
share/postgresql/extension/pgrowlocks--1.2.sql
share/postgresql/extension/pgrowlocks--unpackaged--1.0.sql
share/postgresql/extension/pgrowlocks.control
share/postgresql/extension/pgstattuple--1.0--1.1.sql
share/postgresql/extension/pgstattuple--1.1--1.2.sql
share/postgresql/extension/pgstattuple--1.2--1.3.sql
share/postgresql/extension/pgstattuple--1.3.sql
share/postgresql/extension/pgstattuple--1.3--1.4.sql
share/postgresql/extension/pgstattuple--1.4.sql
share/postgresql/extension/pgstattuple--unpackaged--1.0.sql
share/postgresql/extension/pgstattuple.control
share/postgresql/extension/postgres_fdw--1.0.sql
@ -192,10 +223,13 @@ share/postgresql/extension/postgres_fdw.control
share/postgresql/extension/refint--1.0.sql
share/postgresql/extension/refint--unpackaged--1.0.sql
share/postgresql/extension/refint.control
share/postgresql/extension/seg--1.0.sql
share/postgresql/extension/seg--1.0--1.1.sql
share/postgresql/extension/seg--1.1.sql
share/postgresql/extension/seg--unpackaged--1.0.sql
share/postgresql/extension/seg.control
share/postgresql/extension/sslinfo--1.0.sql
share/postgresql/extension/sslinfo--1.0--1.1.sql
share/postgresql/extension/sslinfo--1.1--1.2.sql
share/postgresql/extension/sslinfo--1.2.sql
share/postgresql/extension/sslinfo--unpackaged--1.0.sql
share/postgresql/extension/sslinfo.control
share/postgresql/extension/tablefunc--1.0.sql
@ -213,12 +247,15 @@ share/postgresql/extension/tsm_system_rows--1.0.sql
share/postgresql/extension/tsm_system_rows.control
share/postgresql/extension/tsm_system_time--1.0.sql
share/postgresql/extension/tsm_system_time.control
share/postgresql/extension/unaccent--1.0.sql
share/postgresql/extension/unaccent--1.0--1.1.sql
share/postgresql/extension/unaccent--1.1.sql
share/postgresql/extension/unaccent--unpackaged--1.0.sql
share/postgresql/extension/unaccent.control
share/postgresql/extension/uuid-ossp--1.0.sql
share/postgresql/extension/uuid-ossp--1.0--1.1.sql
share/postgresql/extension/uuid-ossp--1.1.sql
share/postgresql/extension/uuid-ossp--unpackaged--1.0.sql
share/postgresql/extension/uuid-ossp.control
share/postgresql/extension/xml2--1.0.sql
share/postgresql/extension/xml2--1.0--1.1.sql
share/postgresql/extension/xml2--1.1.sql
share/postgresql/extension/xml2--unpackaged--1.0.sql
share/postgresql/extension/xml2.control

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-docs,v 1.75 2016/08/17 09:43:46 pea Exp $
@comment $OpenBSD: PLIST-docs,v 1.76 2016/12/18 18:18:27 jeremy Exp $
share/doc/postgresql/
share/doc/postgresql/COPYRIGHT
share/doc/postgresql/HISTORY
@ -61,6 +61,7 @@ share/doc/postgresql/html/bki-example.html
share/doc/postgresql/html/bki-format.html
share/doc/postgresql/html/bki-structure.html
share/doc/postgresql/html/bki.html
share/doc/postgresql/html/bloom.html
share/doc/postgresql/html/bookindex.html
share/doc/postgresql/html/brin-builtin-opclasses.html
share/doc/postgresql/html/brin-extensibility.html
@ -95,6 +96,7 @@ share/doc/postgresql/html/catalog-pg-foreign-server.html
share/doc/postgresql/html/catalog-pg-foreign-table.html
share/doc/postgresql/html/catalog-pg-index.html
share/doc/postgresql/html/catalog-pg-inherits.html
share/doc/postgresql/html/catalog-pg-init-privs.html
share/doc/postgresql/html/catalog-pg-language.html
share/doc/postgresql/html/catalog-pg-largeobject-metadata.html
share/doc/postgresql/html/catalog-pg-largeobject.html
@ -204,6 +206,7 @@ share/doc/postgresql/html/ddl-rowsecurity.html
share/doc/postgresql/html/ddl-schemas.html
share/doc/postgresql/html/ddl-system-columns.html
share/doc/postgresql/html/ddl.html
share/doc/postgresql/html/default-roles.html
share/doc/postgresql/html/dict-int.html
share/doc/postgresql/html/dict-xsyn.html
share/doc/postgresql/html/different-replication-solutions.html
@ -318,6 +321,7 @@ share/doc/postgresql/html/functions-window.html
share/doc/postgresql/html/functions-xml.html
share/doc/postgresql/html/functions.html
share/doc/postgresql/html/fuzzystrmatch.html
share/doc/postgresql/html/generic-wal.html
share/doc/postgresql/html/geqo-biblio.html
share/doc/postgresql/html/geqo-intro.html
share/doc/postgresql/html/geqo-intro2.html
@ -341,8 +345,9 @@ share/doc/postgresql/html/git.html
share/doc/postgresql/html/high-availability.html
share/doc/postgresql/html/history.html
share/doc/postgresql/html/hot-standby.html
share/doc/postgresql/html/how-parallel-query-works.html
share/doc/postgresql/html/hstore.html
share/doc/postgresql/html/index-catalog.html
share/doc/postgresql/html/index-api.html
share/doc/postgresql/html/index-cost-estimation.html
share/doc/postgresql/html/index-functions.html
share/doc/postgresql/html/index-locking.html
@ -354,6 +359,7 @@ share/doc/postgresql/html/indexes-bitmap-scans.html
share/doc/postgresql/html/indexes-collations.html
share/doc/postgresql/html/indexes-examine.html
share/doc/postgresql/html/indexes-expressional.html
share/doc/postgresql/html/indexes-index-only-scans.html
share/doc/postgresql/html/indexes-intro.html
share/doc/postgresql/html/indexes-multicolumn.html
share/doc/postgresql/html/indexes-opclass.html
@ -510,6 +516,9 @@ share/doc/postgresql/html/notation.html
share/doc/postgresql/html/oid2name.html
share/doc/postgresql/html/overview.html
share/doc/postgresql/html/pageinspect.html
share/doc/postgresql/html/parallel-plans.html
share/doc/postgresql/html/parallel-query.html
share/doc/postgresql/html/parallel-safety.html
share/doc/postgresql/html/parser-stage.html
share/doc/postgresql/html/passwordcheck.html
share/doc/postgresql/html/performance-tips.html
@ -528,6 +537,7 @@ share/doc/postgresql/html/pgtestfsync.html
share/doc/postgresql/html/pgtesttiming.html
share/doc/postgresql/html/pgtrgm.html
share/doc/postgresql/html/pgupgrade.html
share/doc/postgresql/html/pgvisibility.html
share/doc/postgresql/html/pgxlogdump.html
share/doc/postgresql/html/planner-optimizer.html
share/doc/postgresql/html/planner-stats-details.html
@ -568,6 +578,7 @@ share/doc/postgresql/html/plpython-util.html
share/doc/postgresql/html/plpython.html
share/doc/postgresql/html/pltcl-data.html
share/doc/postgresql/html/pltcl-dbaccess.html
share/doc/postgresql/html/pltcl-error-handling.html
share/doc/postgresql/html/pltcl-event-trigger.html
share/doc/postgresql/html/pltcl-functions.html
share/doc/postgresql/html/pltcl-global.html
@ -581,6 +592,7 @@ share/doc/postgresql/html/postgres-fdw.html
share/doc/postgresql/html/postgres-user.html
share/doc/postgresql/html/preface.html
share/doc/postgresql/html/preventing-server-spoofing.html
share/doc/postgresql/html/progress-reporting.html
share/doc/postgresql/html/protocol-changes.html
share/doc/postgresql/html/protocol-error-fields.html
share/doc/postgresql/html/protocol-flow.html
@ -866,6 +878,7 @@ share/doc/postgresql/html/release-9-1-20.html
share/doc/postgresql/html/release-9-1-21.html
share/doc/postgresql/html/release-9-1-22.html
share/doc/postgresql/html/release-9-1-23.html
share/doc/postgresql/html/release-9-1-24.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
share/doc/postgresql/html/release-9-1-5.html
@ -884,6 +897,7 @@ share/doc/postgresql/html/release-9-2-15.html
share/doc/postgresql/html/release-9-2-16.html
share/doc/postgresql/html/release-9-2-17.html
share/doc/postgresql/html/release-9-2-18.html
share/doc/postgresql/html/release-9-2-19.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
@ -899,6 +913,7 @@ share/doc/postgresql/html/release-9-3-11.html
share/doc/postgresql/html/release-9-3-12.html
share/doc/postgresql/html/release-9-3-13.html
share/doc/postgresql/html/release-9-3-14.html
share/doc/postgresql/html/release-9-3-15.html
share/doc/postgresql/html/release-9-3-2.html
share/doc/postgresql/html/release-9-3-3.html
share/doc/postgresql/html/release-9-3-4.html
@ -909,6 +924,7 @@ share/doc/postgresql/html/release-9-3-8.html
share/doc/postgresql/html/release-9-3-9.html
share/doc/postgresql/html/release-9-3.html
share/doc/postgresql/html/release-9-4-1.html
share/doc/postgresql/html/release-9-4-10.html
share/doc/postgresql/html/release-9-4-2.html
share/doc/postgresql/html/release-9-4-3.html
share/doc/postgresql/html/release-9-4-4.html
@ -922,7 +938,10 @@ share/doc/postgresql/html/release-9-5-1.html
share/doc/postgresql/html/release-9-5-2.html
share/doc/postgresql/html/release-9-5-3.html
share/doc/postgresql/html/release-9-5-4.html
share/doc/postgresql/html/release-9-5-5.html
share/doc/postgresql/html/release-9-5.html
share/doc/postgresql/html/release-9-6-1.html
share/doc/postgresql/html/release-9-6.html
share/doc/postgresql/html/release.html
share/doc/postgresql/html/replication-origins.html
share/doc/postgresql/html/resources.html
@ -965,6 +984,7 @@ share/doc/postgresql/html/sepgsql.html
share/doc/postgresql/html/server-programming.html
share/doc/postgresql/html/server-shutdown.html
share/doc/postgresql/html/server-start.html
share/doc/postgresql/html/source-conventions.html
share/doc/postgresql/html/source-format.html
share/doc/postgresql/html/source.html
share/doc/postgresql/html/sourcerepo.html
@ -1072,6 +1092,7 @@ share/doc/postgresql/html/sql-comment.html
share/doc/postgresql/html/sql-commit-prepared.html
share/doc/postgresql/html/sql-commit.html
share/doc/postgresql/html/sql-copy.html
share/doc/postgresql/html/sql-create-access-method.html
share/doc/postgresql/html/sql-createaggregate.html
share/doc/postgresql/html/sql-createcast.html
share/doc/postgresql/html/sql-createcollation.html
@ -1114,6 +1135,7 @@ share/doc/postgresql/html/sql-declare.html
share/doc/postgresql/html/sql-delete.html
share/doc/postgresql/html/sql-discard.html
share/doc/postgresql/html/sql-do.html
share/doc/postgresql/html/sql-drop-access-method.html
share/doc/postgresql/html/sql-drop-owned.html
share/doc/postgresql/html/sql-dropaggregate.html
share/doc/postgresql/html/sql-dropcast.html
@ -1275,6 +1297,7 @@ share/doc/postgresql/html/uuid-ossp.html
share/doc/postgresql/html/vacuumlo.html
share/doc/postgresql/html/view-pg-available-extension-versions.html
share/doc/postgresql/html/view-pg-available-extensions.html
share/doc/postgresql/html/view-pg-config.html
share/doc/postgresql/html/view-pg-cursors.html
share/doc/postgresql/html/view-pg-file-settings.html
share/doc/postgresql/html/view-pg-group.html
@ -1307,6 +1330,7 @@ share/doc/postgresql/html/wal-reliability.html
share/doc/postgresql/html/wal.html
share/doc/postgresql/html/warm-standby-failover.html
share/doc/postgresql/html/warm-standby.html
share/doc/postgresql/html/when-can-parallel-query-be-used.html
share/doc/postgresql/html/xaggr.html
share/doc/postgresql/html/xfunc-c.html
share/doc/postgresql/html/xfunc-internal.html

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.26 2016/02/13 21:54:28 sthen Exp $
@comment $OpenBSD: PLIST-main,v 1.27 2016/12/18 18:18:27 jeremy Exp $
@conflict pgsql-*
@conflict pgsql-clients-*
@conflict postgresql-*
@ -67,6 +67,7 @@ lib/libecpg_compat.a
@comment lib/libecpg_compat.so.4
@lib lib/libecpg_compat.so.${LIBecpg_compat_VERSION}
lib/libpgcommon.a
lib/libpgfeutils.a
lib/libpgport.a
lib/libpgtypes.a
@comment lib/libpgtypes.so
@ -74,7 +75,7 @@ lib/libpgtypes.a
@lib lib/libpgtypes.so.${LIBpgtypes_VERSION}
lib/libpq.a
@comment lib/libpq.so
@comment lib/libpq.so.5
@comment lib/libpq.so.6
@lib lib/libpq.so.${LIBpq_VERSION}
lib/pkgconfig/libecpg.pc
lib/pkgconfig/libecpg_compat.pc
@ -197,6 +198,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/ALTER_OPERATOR.7
@man man/man7/ALTER_OPERATOR_CLASS.7
@man man/man7/ALTER_OPERATOR_FAMILY.7
@man man/man7/ALTER_POLICY.7
@man man/man7/ALTER_ROLE.7
@man man/man7/ALTER_RULE.7
@man man/man7/ALTER_SCHEMA.7
@ -223,6 +225,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/COMMIT.7
@man man/man7/COMMIT_PREPARED.7
@man man/man7/COPY.7
@man man/man7/CREATE_ACCESS_METHOD.7
@man man/man7/CREATE_AGGREGATE.7
@man man/man7/CREATE_CAST.7
@man man/man7/CREATE_COLLATION.7
@ -241,6 +244,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/CREATE_OPERATOR.7
@man man/man7/CREATE_OPERATOR_CLASS.7
@man man/man7/CREATE_OPERATOR_FAMILY.7
@man man/man7/CREATE_POLICY.7
@man man/man7/CREATE_ROLE.7
@man man/man7/CREATE_RULE.7
@man man/man7/CREATE_SCHEMA.7
@ -253,6 +257,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/CREATE_TEXT_SEARCH_DICTIONARY.7
@man man/man7/CREATE_TEXT_SEARCH_PARSER.7
@man man/man7/CREATE_TEXT_SEARCH_TEMPLATE.7
@man man/man7/CREATE_TRANSFORM.7
@man man/man7/CREATE_TRIGGER.7
@man man/man7/CREATE_TYPE.7
@man man/man7/CREATE_USER.7
@ -263,6 +268,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/DELETE.7
@man man/man7/DISCARD.7
@man man/man7/DO.7
@man man/man7/DROP_ACCESS_METHOD.7
@man man/man7/DROP_AGGREGATE.7
@man man/man7/DROP_CAST.7
@man man/man7/DROP_COLLATION.7
@ -282,6 +288,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/DROP_OPERATOR_CLASS.7
@man man/man7/DROP_OPERATOR_FAMILY.7
@man man/man7/DROP_OWNED.7
@man man/man7/DROP_POLICY.7
@man man/man7/DROP_ROLE.7
@man man/man7/DROP_RULE.7
@man man/man7/DROP_SCHEMA.7
@ -293,6 +300,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/DROP_TEXT_SEARCH_DICTIONARY.7
@man man/man7/DROP_TEXT_SEARCH_PARSER.7
@man man/man7/DROP_TEXT_SEARCH_TEMPLATE.7
@man man/man7/DROP_TRANSFORM.7
@man man/man7/DROP_TRIGGER.7
@man man/man7/DROP_TYPE.7
@man man/man7/DROP_USER.7
@ -303,6 +311,7 @@ lib/postgresql/pgxs/src/test/regress/
@man man/man7/EXPLAIN.7
@man man/man7/FETCH.7
@man man/man7/GRANT.7
@man man/man7/IMPORT_FOREIGN_SCHEMA.7
@man man/man7/INSERT.7
@man man/man7/LISTEN.7
@man man/man7/LOAD.7

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-pg_upgrade,v 1.1 2016/12/18 18:18:27 jeremy Exp $
@bin bin/pg_upgrade
@man man/man1/pg_upgrade.1

View File

@ -1,10 +1,10 @@
@comment $OpenBSD: PLIST-server,v 1.29 2016/05/13 14:27:48 pea Exp $
@comment $OpenBSD: PLIST-server,v 1.30 2016/12/18 18:18:27 jeremy Exp $
@conflict pgsql-*
@conflict pgsql-clients-*
@conflict postgresql-clients-*
@conflict postgresql-server-*
@conflict postgresql-*
@ask-update postgresql-server-<9.5 Make sure your existing database is backed up
@ask-update postgresql-server-<9.6 Make sure your existing database is backed up
@newgroup _postgresql:503
@newuser _postgresql:503:_postgresql:daemon:PostgreSQL Manager:/var/postgresql:/bin/sh
@bin bin/initdb
@ -19,6 +19,8 @@
bin/postmaster
include/postgresql/server/
include/postgresql/server/access/
include/postgresql/server/access/amapi.h
include/postgresql/server/access/amvalidate.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/brin.h
include/postgresql/server/access/brin_internal.h
@ -30,6 +32,7 @@ include/postgresql/server/access/brin_xlog.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/commit_ts.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/generic_xlog.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gin_private.h
include/postgresql/server/access/gist.h
@ -108,6 +111,7 @@ include/postgresql/server/catalog/pg_class.h
include/postgresql/server/catalog/pg_collation.h
include/postgresql/server/catalog/pg_collation_fn.h
include/postgresql/server/catalog/pg_constraint.h
include/postgresql/server/catalog/pg_constraint_fn.h
include/postgresql/server/catalog/pg_control.h
include/postgresql/server/catalog/pg_conversion.h
include/postgresql/server/catalog/pg_conversion_fn.h
@ -125,6 +129,7 @@ include/postgresql/server/catalog/pg_foreign_table.h
include/postgresql/server/catalog/pg_index.h
include/postgresql/server/catalog/pg_inherits.h
include/postgresql/server/catalog/pg_inherits_fn.h
include/postgresql/server/catalog/pg_init_privs.h
include/postgresql/server/catalog/pg_language.h
include/postgresql/server/catalog/pg_largeobject.h
include/postgresql/server/catalog/pg_largeobject_metadata.h
@ -182,6 +187,7 @@ include/postgresql/server/commands/policy.h
include/postgresql/server/commands/portalcmds.h
include/postgresql/server/commands/prepare.h
include/postgresql/server/commands/proclang.h
include/postgresql/server/commands/progress.h
include/postgresql/server/commands/schemacmds.h
include/postgresql/server/commands/seclabel.h
include/postgresql/server/commands/sequence.h
@ -194,7 +200,10 @@ include/postgresql/server/commands/vacuum.h
include/postgresql/server/commands/variable.h
include/postgresql/server/commands/view.h
include/postgresql/server/common/
include/postgresql/server/common/config_info.h
include/postgresql/server/common/controldata_utils.h
include/postgresql/server/common/fe_memutils.h
include/postgresql/server/common/keywords.h
include/postgresql/server/common/pg_lzcompress.h
include/postgresql/server/common/relpath.h
include/postgresql/server/common/restricted_token.h
@ -204,6 +213,7 @@ include/postgresql/server/datatype/
include/postgresql/server/datatype/timestamp.h
include/postgresql/server/dynloader.h
include/postgresql/server/executor/
include/postgresql/server/executor/execParallel.h
include/postgresql/server/executor/execdebug.h
include/postgresql/server/executor/execdesc.h
include/postgresql/server/executor/executor.h
@ -220,6 +230,7 @@ include/postgresql/server/executor/nodeCtescan.h
include/postgresql/server/executor/nodeCustom.h
include/postgresql/server/executor/nodeForeignscan.h
include/postgresql/server/executor/nodeFunctionscan.h
include/postgresql/server/executor/nodeGather.h
include/postgresql/server/executor/nodeGroup.h
include/postgresql/server/executor/nodeHash.h
include/postgresql/server/executor/nodeHashjoin.h
@ -247,8 +258,16 @@ include/postgresql/server/executor/nodeWindowAgg.h
include/postgresql/server/executor/nodeWorktablescan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tqueue.h
include/postgresql/server/executor/tstoreReceiver.h
include/postgresql/server/executor/tuptable.h
include/postgresql/server/fe_utils/
include/postgresql/server/fe_utils/mbprint.h
include/postgresql/server/fe_utils/print.h
include/postgresql/server/fe_utils/psqlscan.h
include/postgresql/server/fe_utils/psqlscan_int.h
include/postgresql/server/fe_utils/simple_list.h
include/postgresql/server/fe_utils/string_utils.h
include/postgresql/server/fmgr.h
include/postgresql/server/foreign/
include/postgresql/server/foreign/fdwapi.h
@ -284,6 +303,7 @@ include/postgresql/server/miscadmin.h
include/postgresql/server/nodes/
include/postgresql/server/nodes/bitmapset.h
include/postgresql/server/nodes/execnodes.h
include/postgresql/server/nodes/extensible.h
include/postgresql/server/nodes/lockoptions.h
include/postgresql/server/nodes/makefuncs.h
include/postgresql/server/nodes/memnodes.h
@ -330,7 +350,6 @@ include/postgresql/server/parser/
include/postgresql/server/parser/analyze.h
include/postgresql/server/parser/gram.h
include/postgresql/server/parser/gramparse.h
include/postgresql/server/parser/keywords.h
include/postgresql/server/parser/kwlist.h
include/postgresql/server/parser/parse_agg.h
include/postgresql/server/parser/parse_clause.h
@ -387,6 +406,7 @@ include/postgresql/server/port/hpux.h
include/postgresql/server/port/linux.h
include/postgresql/server/port/netbsd.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/pg_bswap.h
include/postgresql/server/port/pg_crc32c.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
@ -441,6 +461,7 @@ include/postgresql/server/replication/basebackup.h
include/postgresql/server/replication/decode.h
include/postgresql/server/replication/logical.h
include/postgresql/server/replication/logicalfuncs.h
include/postgresql/server/replication/message.h
include/postgresql/server/replication/origin.h
include/postgresql/server/replication/output_plugin.h
include/postgresql/server/replication/reorderbuffer.h
@ -521,7 +542,9 @@ include/postgresql/server/storage/large_object.h
include/postgresql/server/storage/latch.h
include/postgresql/server/storage/lmgr.h
include/postgresql/server/storage/lock.h
include/postgresql/server/storage/lockdefs.h
include/postgresql/server/storage/lwlock.h
include/postgresql/server/storage/lwlocknames.h
include/postgresql/server/storage/off.h
include/postgresql/server/storage/pg_sema.h
include/postgresql/server/storage/pg_shmem.h
@ -543,12 +566,12 @@ include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/storage/standby.h
include/postgresql/server/storage/standbydefs.h
include/postgresql/server/tcop/
include/postgresql/server/tcop/deparse_utility.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
include/postgresql/server/tcop/tcopdebug.h
include/postgresql/server/tcop/tcopprot.h
include/postgresql/server/tcop/utility.h
include/postgresql/server/tsearch/
@ -589,6 +612,7 @@ include/postgresql/server/utils/guc.h
include/postgresql/server/utils/guc_tables.h
include/postgresql/server/utils/help_config.h
include/postgresql/server/utils/hsearch.h
include/postgresql/server/utils/index_selfuncs.h
include/postgresql/server/utils/inet.h
include/postgresql/server/utils/int8.h
include/postgresql/server/utils/inval.h
@ -705,6 +729,10 @@ share/postgresql/tsearch_data/french.stop
share/postgresql/tsearch_data/german.stop
share/postgresql/tsearch_data/hungarian.stop
share/postgresql/tsearch_data/hunspell_sample.affix
share/postgresql/tsearch_data/hunspell_sample_long.affix
share/postgresql/tsearch_data/hunspell_sample_long.dict
share/postgresql/tsearch_data/hunspell_sample_num.affix
share/postgresql/tsearch_data/hunspell_sample_num.dict
share/postgresql/tsearch_data/ispell_sample.affix
share/postgresql/tsearch_data/ispell_sample.dict
share/postgresql/tsearch_data/italian.stop

View File

@ -1,4 +1,4 @@
$OpenBSD: README-server,v 1.19 2015/08/03 07:42:30 kirby Exp $
$OpenBSD: README-server,v 1.20 2016/12/18 18:18:27 jeremy Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -109,6 +109,12 @@ Upgrade Howto (for a major upgrade)
If you didn't install PostgreSQL by following this README,
you must adapt these instructions to your setup.
Option 1: Dump and Restore
--------------------------
This will work for any upgrade from any major version of PostgreSQL
to the current version.
1) Backup all your data:
# su _postgresql -c "pg_dumpall -U postgres > /var/postgresql/full.sqldump"
@ -140,6 +146,43 @@ Examine your old file for local changes and apply them to the new version.
8) Restore your data:
# su _postgresql -c "psql -U postgres < /var/postgresql/full.sqldump"
Option 2: pg_upgrade
--------------------
This will work for an upgrade from the previous major version of
PostgreSQL supported by OpenBSD to the current version, and should be
faster than a dump and reload, especially for large databases.
1) Shutdown the server:
# ${RCDIR}/postgresql stop
2) Upgrade your PostgreSQL package with pkg_add.
# pkg_add -ui postgresql-pg_upgrade
3) Backup your old data directory:
# mv /var/postgresql/data /var/postgresql/data.old
4) Create a new data directory (using -E UTF8 if appropriate):
# su _postgresql -c "mkdir /var/postgresql/data"
# su _postgresql -c "initdb -D /var/postgresql/data -U postgres -A md5 -W"
5) Restore your old pg_hba.conf and (if used) SSL certificates
# su _postgresql -c \
"cp /var/postgresql/data.old/pg_hba.conf /var/postgresql/data/"
# su _postgresql -c \
"cp /var/postgresql/data.old/server.{crt,key} /var/postgresql/data/"
Some postgresql.conf settings changed or disappeared in this version.
Examine your old file for local changes and apply them to the new version.
6) Run pg_upgrade:
# su _postgresql -c "pg_upgrade -b /usr/local/bin/postgresql-9.5/
-B /usr/local/bin -U postgres
-d /var/postgresql/data.old/ -D /var/postgresql/data"
7) Start PostgreSQL:
# ${RCDIR}/postgresql start
Clients/Frontends
=================
Many applications can use the PostgreSQL database right away. To facilitate