pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Refactor format_type APIs to be more modular
Date: Sat, 17 Feb 2018 22:16:22 +0000
Message-ID: <E1enAmM-0004tu-Lt@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a26116c6cbf4117e8efaa7cfc5bacc887f01517f

Modified Files
--------------
contrib/postgres_fdw/deparse.c      |  10 +--
src/backend/utils/adt/format_type.c | 134 ++++++++++++++++++------------------
src/include/utils/builtins.h        |   9 ++-
3 files changed, 81 insertions(+), 72 deletions(-)



Message-ID: <E1enAmM-0004tu-Lt@gemulon.postgresql.org>
Permalink:  ../E1enAmM-0004tu-Lt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1enAmM-0004tu-Lt@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Refactor format_type APIs to be more modular
  In-Reply-To: <E1enAmM-0004tu-Lt@gemulon.postgresql.org>
  References: <E1enAmM-0004tu-Lt@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox