pgsql: In new pg_dump TAP tests, remove trailing "$" from regexps using

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: In new pg_dump TAP tests, remove trailing "$" from regexps using
Дата
Msg-id E1az8y8-0000oC-4l@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
In new pg_dump TAP tests, remove trailing "$" from regexps using /m.

It emerges that some Perl versions before 5.8.9 have a bug with regexps
that use the /m flag and contain "$".  This is the reason why jacana
is still failing on HEAD, and I was able to duplicate the failure on
prairiedog's host.  There's no real need for "$" in these patterns,
since they are already matching through the statement-terminating
semicolons (or matching an explicit \n in some cases).  So just
remove it.

Note: the reason jacana hasn't actually reported any failures in the
last little while is that the way the pg_dump TAP tests are set up, any
failure of this sort results in echoing the entire pg_dump dump output
to stderr.  Since there were about a hundred such failures, that resulted
in a 30MB log file which choked the buildfarm upload script.  There is
room for improvement here :-(.

Per off-list discussion with Andrew and Stephen.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b8180884082d46346394e1c54fc454d2c16bf3ee

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl | 180 +++++++++++++++++++--------------------
1 file changed, 90 insertions(+), 90 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Docs: improve warnings about nextval() not producing gapless seq
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Release notes for 9.5.3, 9.4.8, 9.3.13, 9.2.17, 9.1.22.