pgsql: Improve logic in PostgresVersion.pm - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Improve logic in PostgresVersion.pm
Date
Msg-id E1lbMpo-0005cW-B3@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve logic in PostgresVersion.pm

Handle the situation where perl swaps the order of operands of
the comparison operator. See `perldoc overload` for details:

The third argument is set to TRUE if (and only if) the two
operands have been swapped. Perl may do this to ensure that the
first argument ($self) is an object implementing the overloaded
operation, in line with general object calling conventions.

Branch
------
master

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

Modified Files
--------------
src/test/perl/PostgresVersion.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: doc: Review for "Allow TRUNCATE command to truncate foreign tabl
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Implement streaming mode in ReorderBuffer.