[ANNOUNCE] PostgreSQL 9.2.2, 9.1.7, 9.0.11, 8.4.15 released

Questions and answers regarding general SQL and backend databases

[ANNOUNCE] PostgreSQL 9.2.2, 9.1.7, 9.0.11, 8.4.15 released

Postby ROCLASI » Thu Dec 06, 2012 8:48 pm

PostgreSQL 9.2.2, 9.1.7, 9.0.11 and 8.4.15 released

The PostgreSQL Global Development Group has released an update to all current versions of the PostgreSQL database system, including versions 9.2.2, 9.1.7, 9.0.11, 8.4.15, and 8.3.22. Users of PostgreSQL Hot Standby replication should update at the next possible opportunity. Other users should update at their next maintenance window.

This release fixes a significant page ordering issue with Hot Standby which could cause index corruption on the standby under some circumstances. In addition, this update patches timing issues with checkpoint and transaction ID wraparound which could cause data corruption in some cases. Today's update also fixes multiple issues with CREATE INDEX CONCURRENTLY and DROP INDEX CONCURRENTLY, which can cause those commands to fail or produce corrupt indexes. Users who use this feature may want to REINDEX or recreate affected indexes (see below).

This update release also contains fixes for many minor issues discovered and patched by the PostgreSQL community in the last month, including several fixes which are specific to version 9.2. These include:

  • Prevent psql crash due to incorrectly encoded input data
  • Fix pg_regress gmake build issues
  • Make sure correct directory is created for extensions
  • Fix some issues with buffer locks and VACUUM
  • Multiple fixes and improvements for pg_upgrade
  • Fix bugs with end-of-recovery when failing over to a standby
  • Avoid bogus "out-of-sequence timeline ID" errors in standby-mode
  • Don't launch new child processes during shutdown
  • Improve the ability of JOINs to use partial indexes
  • Fix assorted integer overflow errors
  • Eliminate memory leaks in record_out() and record_send()
  • Skip searching for subtransaction logs at COMMIT
  • Fix WaitLatch() timing issues
  • Fix handling of inherited check constraints in ALTER COLUMN TYPE
  • Make ALTER EXTENSION SET SCHEMA behave as documented
  • Have SEQUENCE SET statements in the "data" section of sectional dumps
  • Prevent parser from believing that VIEWs have system columns
  • Fix --clean mode for pg_dump
  • Prevent hash table corruption on out-of-memory
  • Various query planner and executor fixes and improvements
  • Multiple documentation updates
  • DST updates for seven timezones

PostgreSQL 8.3 will be End-Of-Life (EOL) in February 2013. As such, this update is likely to be the next-to-last update for that version. We urge users of version 8.3 to begin planning a full upgrade to a more current version of PostgreSQL now. For more information, see our Versioning Policy.

As with other minor releases, users are not required to dump and reload their database or use pg_upgrade in order to apply this update release; you may simply shut down PostgreSQL and update its binaries. Users who have skipped multiple update releases may need to perform additional, post-update steps; see the Release Notes for details.

Users who have used CREATE INDEX CONCURRENTLY extensively may want to REINDEX, or drop and re-create, indexes which were created using CREATE INDEX CONCURRENTLY after applying the update in order to be sure of their integrity. Unfortunately, indexes created concurrently are indistinguishable from indexes created non-concurrently, so users will need to rely on DBA knowledge. Once the update is applied, users can create the new index concurrently and then drop the old index concurrently to avoid downtime.

Links:

Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: [ANNOUNCE] PostgreSQL 9.2.2, 9.1.7, 9.0.11, 8.4.15 relea

Postby cuoredisardegna » Sat Dec 29, 2012 11:06 am

Hi Robert,
we are working with the first release of 8.4 on linux. How , trough wich particular way, is it possible to upgrade it?
Tanks in advance.
Gianni Pinna.
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am

Re: [ANNOUNCE] PostgreSQL 9.2.2, 9.1.7, 9.0.11, 8.4.15 relea

Postby ROCLASI » Sun Dec 30, 2012 6:23 pm

Hi Gianni,

The best practice is to make a full dump (export) using the client tools of the new version you want to upgrade to. This can be done on the same server or remotely.
It's important you make a dump using pg_dumpall. This will export all the users, tablespaces, etc. as well as your databases into a SQL script file.
After this you can shutdown 8.4 and install/launch the new version and create a new database cluster. So you don't use the same cluster (directory) as the old one.
Now you can re-import all your databases and settings. To do this you don't use pg_restore but psql. The file you created using pg_dumpall is a SQL file, i.e. plain text, and you need to execute that using the psql commandline DBA tool. You could use a GUI DBA tool but usually these dump files are too big for those tools to handle. Psql will simply read the file line by line and execute it.

Another way would be an in-place upgrade using pg_upgrade but depending on what extensions you have installed in your databases this might not work. Export/import is the safest way to do an upgrade and is fairly simple to do.

More detailed info on upgrading a PostgreSQL cluster:
http://www.postgresql.org/docs/9.2/stat ... ading.html

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: [ANNOUNCE] PostgreSQL 9.2.2, 9.1.7, 9.0.11, 8.4.15 relea

Postby ROCLASI » Mon Dec 31, 2012 9:51 am

ROCLASI wrote:After this you can shutdown 8.4 and install/launch the new version and create a new database cluster.

Reading my post back I see this is actually not entirely correct. You can't launch PostgreSQL without creating the new cluster first.
So the correct order is; install PostgreSQL, create a new cluster using initdb and then launch PostgreSQL.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: [ANNOUNCE] PostgreSQL 9.2.2, 9.1.7, 9.0.11, 8.4.15 relea

Postby cuoredisardegna » Mon Dec 31, 2012 3:09 pm

Hi Robert,
excellent for two reasons: first the pratic true; second Your love for the true.
The second aspect is that which makes the great men.
Tanks again for Your correct conscience, Robert.
Gianni Pinna.
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 5 guests

cron