pgsql: Use named captures in Catalog::ParseHeader()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Use named captures in Catalog::ParseHeader()
Дата
Msg-id E1qF1v3-0016hV-GR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use named captures in Catalog::ParseHeader()

Using at least perl 5.14 is required since 4c15327, meaning that it is
possible to use named captures and the %+ hash instead of having to
count parenthesis groups manually.

While on it, CATALOG is made more flexible in its handling of
whitespaces for parameter lists (see the addition of \s* in this
case).  The generated postgres.bki remains exactly the same before and
after this commit.

Author: Dagfinn Ilmari Mannsåker
Reviewed-by: John Naylor
Discussion: https://postgr.es/m/87y1l3s7o9.fsf@wibble.ilmari.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/23d8624fe52efff0e1c8a6e809d51671f9f549d6

Modified Files
--------------
src/backend/catalog/Catalog.pm | 85 +++++++++++++++++++++++++-----------------
1 file changed, 50 insertions(+), 35 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Arm gen_node_support.pl's nodetag ABI stability check in v16.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add tab completion for CREATE SCHEMA in psql