Commit graph

17 commits

Author SHA1 Message Date
Palle Girgensohn
548c838795 The PostgreSQL Global Development Group has released an update to all
supported versions of our database system, including 9.6.5, 9.5.9,
9.4.14, 9.3.19, and 9.2.23.

This release includes fixes that prevent a crash in pg_restore when
using parallel mode. It also patches over a few other bugs reported
since the last releases in August.

Additionally, in 9.4.14 only, there is a fix to an issue with walsenders
preventing primary-server shutdown unless immediate shutdown mode is used.

Users should plan to update at the next convenient downtime.

Bug Fixes and Improvements

This update also fixes a number of bugs reported in the last few weeks.
Some of these issues affect only version 9.6, but many affect all
supported versions:

* Show foreign tables in information_schema.table_privileges view.
This fix applies to new databases, see the release notes for the
procedure to apply the fix to an existing database.
* Correctly identify columns that are of a range type or domain type
over a composite type or domain type being searched for
* Prevent crash when passing fixed-length pass-by-reference data types
to parallel worker processes
* Change ecpg’s parser to allow RETURNING clauses without attached C
variables
* Change ecpg’s parser to recognize backslash continuation of C
preprocessor command lines
* Improve selection of compiler flags for PL/Perl on Windows
2017-09-05 09:27:11 +00:00
Dmitry Marakasov
7184f1831f - Include pg_regress to all postgresql*-client ports, to allow running regression tests for postgresql extensions
PR:		217874
Approved by:	maintainer timeout (pgsql, 4 months)
2017-07-17 11:15:50 +00:00
Sunpoet Po-Chuan Hsieh
6af17fca76 Bump PORTREVISION for devel/readline shlib change
PR:		219947
2017-06-28 14:51:22 +00:00
Palle Girgensohn
a9c901ec2b Some binaries where moved from contrib to base in 9.5, like pgbench and
pg_upgrade. Other where added in 9.5, but the port failed to install them.
Make sure they are properly installed by the correct port (-client or -server) [1]

Remove unused and hence confusing OSSP_UUID parameters from Makefile [2]

Add options to allow user to be set for the backup script in periodic.
Add this option only to 9.5 for now. It will be updated to other servers at
next regular patch release. [3]

The path to perl in hard coded into pgxs/src/Makefile.global which is
then installed. Hence, we must depend on perl when that file is installed.

Noticed by:	Paul Guyot [1]
PR:		192387 [2]
PR:		172110 [3]
PR:		206046 [4]
2016-01-13 10:36:22 +00:00
Palle Girgensohn
0642ae4b77 Update PostgreSQL port to latest version.
Two security issues have been fixed in this release which affect users
of specific PostgreSQL features:

CVE-2015-5289: json or jsonb input values constructed from arbitrary
user input can crash the PostgreSQL server and cause a denial of
service.

CVE-2015-5288: The crypt( function included with the optional pgCrypto
extension could be exploited to read a few additional bytes of memory.
No working exploit for this issue has been developed.

This update will also disable SSL renegotiation by default;
previously, it was enabled by default.   SSL renegotiation will be
removed entirely in PostgreSQL versions 9.5 and later.

URL:		http://www.postgresql.org/about/news/1615/
Security:	CVE-2015-5288 CVE-2015-5289
2015-10-08 21:25:01 +00:00
Palle Girgensohn
89f2bb6e59 Update PostgreSQL ports to latest version.
Data Corruption Fix

For users of PostgreSQL versions 9.3 or 9.4, this release fixes a problem where
the database will fail to protect against "multixact wraparound", resulting in
data corruption or loss. Users with a high transaction rate (1 million or more
per hour) in a database with many foreign keys are especially vulnerable. We
strongly urge all users of 9.4 and 9.3 to update their installations in the
next few days.

Users of versions 9.2 and earlier are not affected by this issue.

Security:	fc38cd83-00b3-11e5-8ebd-0026551a22dc
2015-05-22 23:22:19 +00:00
Palle Girgensohn
cbb709bca2 Revert the change from readline to libedit, and instead make libedit optional.
PR:	ports/197362
2015-02-07 17:05:07 +00:00
Palle Girgensohn
262af710e7 Update PostgreSQL-9.x to latests versions.
This update fixes multiple security issues reported in PostgreSQL over the past
few months. All of these issues require prior authentication, and some require
additional conditions, and as such are not considered generally urgent.
However, users should examine the list of security holes patched below in case
they are particularly vulnerable.

Security:	CVE-2015-0241,CVE-2015-0242,CVE-2015-0243,
		CVE-2015-0244,CVE-2014-8161
2015-02-05 22:54:34 +00:00
Chris Rees
dab15277f4 Convert pgsql ports to use USES+=pgsql
Reviewed by:	bapt
2014-08-25 17:53:26 +00:00
Baptiste Daroussin
562eeefecf Fixes build with readline from ports 2014-06-30 23:07:29 +00:00
Antoine Brodin
4d4db2684b Stage support
Reviewed by:	postgresql@
Tested by:	miwi and me
2014-02-26 17:24:35 +00:00
Sunpoet Po-Chuan Hsieh
1e4b76852c - Remove DISTV: only used in PKGNAMESUFFIX and complained by portlint
- Convert to new LIB_DEPENDS format for postgresql*-contrib

Submitted by:	sunpoet (myself)
Reviewed by:	crees (pgsql)
Approved by:	jgh (pgsql)
2013-10-15 17:17:05 +00:00
Jason Helfman
284d8b8683 - Fix pkg name collision
Reviewed by: pgsql@
With hat: pgsql@
2013-10-10 00:09:35 +00:00
Jason Helfman
de278bfdf7 - revert r329725
Reported by: qat@
With hat: pgsql@
2013-10-07 20:03:38 +00:00
Jason Helfman
51bc2ff685 - Fix pkg name collision
Reviewed by: crees@
With hat: pgsql@
2013-10-07 19:04:04 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Palle Girgensohn
e0673330c9 The PostgreSQL Global Development Group announces the beta release of
PostgreSQL 9.2, which will include major increases in performance and
both vertical and horizontal scalability.  The PostgreSQL Project asks
all users to download and begin testing 9.2 Beta as soon as possible.

Major performance and scalability advances in this version include:

* Index-only scans, allowing users to avoid inefficient scans of base
  tables
* Enhanced read-only workload scaling to 64 cores and over 300,000
  queries per second
* Improvements to data write speeds, including group commit
* Reductions in CPU power consumption
* Cascading replication, supporting geographically distributed standby
  databases

PostgreSQL 9.2 will also offer many new features for application
developers, including:

* JSON data support, enabling hybrid document-relational databases
* Range types, supporting new types of calendar, time-series and
* analytic applications
* Multiple improvements to ALTER and other statements, easing runtime
* database updates

For a full listing of the features in version 9.2 Beta, please see the
release notes:
http://www.postgresql.org/docs/devel/static/release-9-2.html

We depend on our community to help test the next version in order to
guarantee that it is high-performance and bug-free.  Please install
PostgreSQL 9.2 Beta and try it with your workloads and applications as
soon as you can, and give feedback to the PostgreSQL developers.  More
information on how to test and report issues:
http://www.postgresql.org/developer/beta
2012-05-15 22:14:55 +00:00