In ALTER COLUMN TYPE, strip any implicit coercion operations appearing

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9309d5f2ba00f3d918bc2f7998440be89fbde85b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-10-22T17:20:05Z
Releases: 8.0.0
In ALTER COLUMN TYPE, strip any implicit coercion operations appearing
at the top level of the column's old default expression before adding
an implicit coercion to the new column type.  This seems to satisfy the
principle of least surprise, as per discussion of bug #1290.

Files