Hi,

Bugfixes update to the latest PostgreSQL.
Changelog here: http://www.postgresql.org/docs/9.1/static/release-9-1-2.html

Important things to know:

+ Fix bugs in information_schema.referential_constraints view (Tom Lane)
This view was being insufficiently careful about matching the foreign-key 
constraint to the depended-on primary or unique key constraint. That 
could result in failure to show a foreign key constraint at all, or showing 
it multiple times, or claiming that it depends on a different constraint 
than the one it really does.
Since the view definition is installed by initdb, merely upgrading will not 
fix the problem. If you need to fix this in an existing installation, you 
can (as a superuser) drop the information_schema schema then re-create it 
by sourcing SHAREDIR/information_schema.sql. This must be repeated in 
each database to be fixed.


+ Make contrib/citext's upgrade script fix collations of citext columns and 
indexes (Tom Lane)
Existing citext columns and indexes aren't correctly marked as being of a 
collatable data type during pg_upgrade from a pre-9.1 server. That leads to 
operations on them failing with errors such as "could not determine which 
collation to use for string comparison". This change allows them to be fixed 
by the same script that upgrades the citext module into a proper 9.1 extension 
during CREATE EXTENSION citext FROM unpackaged.
If you have a previously-upgraded database that is suffering from this problem, 
and you already ran the CREATE EXTENSION command, you can manually run (as 
superuser) 
the UPDATE commands found at the end of 
SHAREDIR/extension/citext--unpackaged--1.0.sql. 


Please note that SHAREDIR is /usr/local/share/postgresql on OpenBSD.

Tested on @amd64.

Regards,

-- 
Pierre-Emmanuel André <pea at raveland.org>
GPG key: 0x7AE329DC

Reply via email to