Refactor format_type APIs to be more modular
Alvaro Herrera <alvherre@alvh.no-ip.org>
Refactor format_type APIs to be more modular Introduce a new format_type_extended, with a flags bitmask argument that can modify the default behavior. A few compatibility and readability wrappers remain: format_type_be format_type_be_qualified format_type_with_typemod while format_type_with_typemod_qualified, which had a single caller, is removed. Author: Michael Paquier, some revisions by me Discussion: 20180213035107.GA2915@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/deparse.c | modified | +6 −4 |
| src/backend/utils/adt/format_type.c | modified | +67 −67 |
| src/include/utils/builtins.h | modified | +8 −1 |