PostgreSQL 9.3 Released
PostgreSQL 9.3 Released
Written by Kay Ewbank   
Wednesday, 11 September 2013

The latest version of the PostgreSQL open source relational database system has been released with improved JSON support, regular expression indexing, and writeable foreign data wrappers.

PostgreSQL is an open-source descendant of Postgres, the database developed at the University of California at Berkeley Computer Science Department.

The changes to the Foreign Data Wrappers (FDW) mean you can exchange data with alternative back end data stores both for reading and writing. The wrappers let you integrate external data sources with internal data. FDW data sources look like any other database table to users. Earlier versions were read only.

The new version has extra features for improved reliability and availability, starting with fast failover support promising sub-second switch-overs from a master database to a replica database. Data Page Checksums have been added to alert administrators to problems such as failing disks that are corrupting data. A further improvement for failover support is Streaming-Only Remastering to make it easier and faster to reconfigure cascading replicas after failover.
For developers, the main improvement is the addition of JSON constructor and extractor methods. The JSON datatype and two supporting functions for converting rows and arrays were introduced in PostgreSQL 9.2. This release adds dedicated JSON operators, more JSON functions, and the JSON parser has been exposed for use by other modules such as extensions as an API.

Lateral Join support has also been added. This means that if you write a query where you specify columns in the FROM clause, you can then write a subquery that references those columns.

One interesting addition is a concept called User-Defined Background Workers. This lets you develop modules that register themselves as "background worker processes", so effectively operating as customized server processes. You could use this to monitor server activity, or to write your own task managers, request handlers, parallel processors or queuing tools. The idea is that you can then use PostgreSQL as a workload coordinator, and the release notes say that an example of this has already been released in the form of Mongres, a background worker that accepts MongoDB queries, interprets them and passes them on to PostgreSQL.

More details of new features are given in the PostgreSQL Wiki.



School Bus Optimization

An algorithm to optimize school bus routes will save Boston Public Schools as much as $5 million after computer science and logistics experts competed in a 3 month hackathon won by a team from MIT's O [ ... ]

Google's Songbird Brings Ambisonics To The Web

Spatial audio, when done right, is amazing and best through a pair of headphones. We only have two ears, but somehow we manage to hear things in 3D up, down, left, right and back and front. With the a [ ... ]

More News

Last Updated ( Friday, 04 October 2013 )

RSS feed of news items only
I Programmer News
Copyright © 2017 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.