Re: [HACKERS] Latest Data::Dumper breaks hstore_plperl regression test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Latest Data::Dumper breaks hstore_plperl regression test
Date
Msg-id 7840.1494737302@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Latest Data::Dumper breaks hstore_plperl regressiontest  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-hackers
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> On 05/13/2017 11:32 PM, Robert Haas wrote:
>> Depending on the precise details of how Data::Dumper prints things
>> doesn't seem like a particularly good idea.

> I'd be inclined to set $Data::Dumper::Indent to 0 which would suppress
> all indentation, and adjusting the test results accordingly. We already
> set $Data::Dumper::Sortkeys to 1, so there's precedent for controlling
> how it presents data back to us.

Sounds plausible to me.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Hash Functions
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Latest Data::Dumper breaks hstore_plperl regressiontest