]> granicus.if.org Git - postgresql/commit
Refactor format_type APIs to be more modular
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 17 Feb 2018 22:02:15 +0000 (19:02 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 17 Feb 2018 22:02:15 +0000 (19:02 -0300)
commita26116c6cbf4117e8efaa7cfc5bacc887f01517f
tree992cfdbc98be9a94a1bf4905c46e95bcad88385b
parentcef60043dd27c47a1a4a220158836ccff20be07a
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
contrib/postgres_fdw/deparse.c
src/backend/utils/adt/format_type.c
src/include/utils/builtins.h