Re: change in behaviour for format_type() call

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rushabh Lathia <rushabh.lathia@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2018-03-01T15:49:44Z
Lists: pgsql-hackers
Rushabh Lathia <rushabh.lathia@gmail.com> writes:
> Commit a26116c6cbf4117e8efaa7cfc5bacc887f01517f changed the behaviour
> for format_type.
> ...
> Is this expected behaviour? attaching patch to get back the older
> behaviour.

I don't see anything in the commit message or linked discussion to
indicate that any visible behavior change was intended, so I think
you're right, this is a bug.  Will check and push your patch.

			regards, tom lane


Commits

  1. Fix format_type() to restore its old behavior.

  2. Refactor format_type APIs to be more modular