Add a transform function for varbit typmod coercisions.

Robert Haas <rhaas@postgresql.org>

Commit: f7d7dade8afe19847510efe44be191c35e1ce26c
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-02-07T17:42:50Z
Releases: 9.2.0
Add a transform function for varbit typmod coercisions.

This enables ALTER TABLE to skip table and index rebuilds when the
new type is unconstraint varbit, or when the allowable number of bits
is not decreasing.

Noah Misch, with review and a fix for an OID collision by me.

Files