Allow I/O conversion casts to be applied to or from any type that is a member
Tom Lane <tgl@sss.pgh.pa.us>
Allow I/O conversion casts to be applied to or from any type that is a member of the STRING type category, thereby opening up the mechanism for user-defined types. This is mainly for the benefit of citext, though; there aren't likely to be a lot of types that are all general-purpose character strings. Per discussion with David Wheeler.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/citext/expected/citext.out | modified | +13 −10 |
| contrib/citext/sql/citext.sql | modified | +3 −3 |
| doc/src/sgml/ref/create_cast.sgml | modified | +22 −10 |
| src/backend/parser/parse_coerce.c | modified | +5 −9 |