Fix ruleutils to depend on format_type, rather than having a private

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

Commit: 1c7bef32b46ac602d5478314dcfe1154858e970e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-10-08T19:55:07Z
Releases: 7.2.1
Fix ruleutils to depend on format_type, rather than having a private
copy of code that knows about displaying types with typmod info.
Needed so that it does the right thing with timestamp datatypes now.

Files

PathChange+/−
src/backend/utils/adt/format_type.c modified +12 −3
src/backend/utils/adt/ruleutils.c modified +90 −34
src/include/utils/builtins.h modified +2 −1