Remove grotty special-case code in coerce_to_target_type() that

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

Commit: 89ab5c4abf48de8156b9284dda869f9ea2b2ad44
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-03-15T01:13:41Z
Releases: 8.0.0
Remove grotty special-case code in coerce_to_target_type() that
implemented casts to varchar and bpchar using a cast-to-text function.
This is a holdover from before we had pg_cast; it now makes more sense
to just list these casts in pg_cast.  While at it, add pg_cast entries
for the other direction (casts from varchar/bpchar) where feasible.

Files