pgsql: Improve logic in PostgresVersion.pm

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Improve logic in PostgresVersion.pm
Дата
Msg-id E1lbMpo-0005cW-B3@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: doc: Review for "Allow TRUNCATE command to truncate foreign tabl
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Implement streaming mode in ReorderBuffer.