Commit graph

7 commits

Author SHA1 Message Date
marino
40a3ec4e9b databases/postgresql(-client): Revert most of last commit
After discussing gcc47 build problems with postgresql developers, it
became apparent that the error was unique to DragonFly.  It turns out
that DragonFly was using an older offsetof macro instead of the builtin
version provided by GCC.

Fixing the offsetof macro on DragonFly allowed the pre-patched psgsql 91
to build without issue.  While the previous patches certainly don't hurt
anything, they are being removed to ease future maintenance.

The warning suppression fix is still valid, so the change to the pgsql
client makefile is being left in place.
2012-10-07 22:15:26 +00:00
marino
c9829d6721 databases/postgresql91(-client): Fix build for gcc46 and gcc47
Postgresql91 uses non-constant array sizes in record definitions which
gcc enforces starting with 4.6.  These index sizes are defined as macros
using functions such as offsetof.  These patches introduce enums where
the macros become constant expressions which gcc 4.6+ will accept.

GCC 4.7 also introduces the unused-but-set-variable warning which is
popping up all over the place in pgsql91, so silence these warnings -
they are harmless and get optimized out anyway.

No revbump because functionality won't change on binaries generated with
gcc4.5 and below.
2012-10-07 10:24:54 +00:00
asau
a1365afcf4 Force common shared library version scheme on FreeBSD to avoid PLIST divergence. 2012-07-16 21:17:10 +00:00
adam
01563d6958 Changes:
* Fix btree index corruption from insertions concurrent with vacuuming
* Recover from errors occurring during WAL replay of DROP TABLESPACE
* Fix transient zeroing of shared buffers during WAL replay
* Fix postmaster to attempt restart after a hot-standby crash
* Fix corner case in SSI transaction cleanup
* Update per-column permissions, not only per-table permissions, when changing
  table owner
* Fix handling of data-modifying WITH subplans in READ COMMITTED rechecking
* Fix for "could not find plan for CTE" failures
* Fix unsupported node type error caused by COLLATE in an INSERT expression
* Avoid crashing when we have problems deleting table files post-commit
* Fix recently-introduced memory leak in processing of inet/cidr
* Fix GIN cost estimation to handle column IN (...) index conditions
* Fix I/O-conversion-related memory leaks in plpgsql
* Teach pg_upgrade to handle renaming of plpython's shared library (affecting
  upgrades to 9.1)
2012-03-03 14:01:11 +00:00
adam
4a96f011b6 Changes 9.1.2:
* Fix bugs in information_schema.referential_constraints view
* Correct collations for citext columns and indexes
* Prevent possible crash when joining to a scalar function
* Prevent transitory data corruption of GIN indexes after a crash
* Prevent data corruption on TOAST columns when copying data
* Fix failures during hot standby startup
* Correct another "variable not found in subplan target list" bug
* Fix bug with sorting on aggregate expressions in windowing functions
* Multiple bug fixes for pg_upgrade
* Change Foreign Key creation order to better support self-referential keys
* Multiple bug fixes to CREATE EXTENSION
* Ensure that function return type and data returned from PL/perl agree
* Ensure that PL/perl strings are always UTF-8
* Assorted bug fixes for various Extensions
* Updates to the time zone database, particularly to CST6
2011-12-06 20:37:33 +00:00
hans
a1cd4607e3 Fix build on SunOS. 2011-10-12 19:43:26 +00:00
adam
74230fd435 Version 9.1 delivers several features which users have been requesting for
years, removing roadblocks to deploying new or ported applications on
PostgreSQL. These include:
* Synchronous Replication: enable high-availability with consistency across
  multiple servers
* Per-Column Collations: support linguistically-correct sorting per database,
  table or column.
* Unlogged Tables: greatly improves performance for ephemeral data

Our community of contributors innovates with cutting-edge features. Version 9.1
includes several which are new to the database industry, such as:
* K-Nearest-Neighbor Indexing: index on "distance" for faster location and text
  search queries
* Serializable Snapshot Isolation: keeps concurrent transactions consistent
  without blocking, using "true serializability"
* Writeable Common Table Expressions: execute complex multi-stage data updates
  in a single query
* Security-Enhanced Postgres: deploy military-grade security and Mandatory
  Access Control
2011-09-15 08:27:38 +00:00