Fix ruleutils to depend on format_type, rather than having a private
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |