Re: BUG #17866: behavior does not match documentation

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: eugeny(at)zhuzhnev(dot)com, pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: BUG #17866: behavior does not match documentation
Date: 2023-03-23 22:00:24
Message-ID: 3605E583-D445-42E8-8AA6-A9E6136EA0E1@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 23 Mar 2023, at 22:54, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
>> On 23 Mar 2023, at 19:31, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> I wonder if we should rethink that and have these operations strip
>>> insignificant trailing zeroes.
>
>> Any app relying on insignificant trailing zeroes seems broken, but the inverse
>> can be argued as well. It's however quite easy to argue for the stripped
>> output being more readable though.
>
> It's more readable for sure, and it duplicates what you got in pre-v14
> versions, at least textually. I'm not sure I'd propose back-patching
> this, but it feels like a good idea for HEAD.

Agreed, I don't think this is material for backpatching.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrey Lizenko 2023-03-24 06:50:16 Re: BUG #17863: Unable to restore dump 12.12 -> 15.2
Previous Message Tom Lane 2023-03-23 21:54:50 Re: BUG #17866: behavior does not match documentation