Re: pgsql: Use Getopt::Long for catalog scripts

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Use Getopt::Long for catalog scripts
Дата
Msg-id 20190212213225.GA11073@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pgsql: Use Getopt::Long for catalog scripts  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-committers
On 2019-Feb-13, Thomas Munro wrote:

> whelk, woodlouse and dory say:
> 
> Generating src/interfaces/ecpg/pgtypeslib/pgtypeslib.def...
> Unknown option: i../../../src/include/
> Usage: perl -I [directory of Catalog.pm] Gen_fmgrtab.pl
> [--include-path/-i <path>] [path to pg_proc.dat]
> 
> Options:
>     --output         Output directory (default '.')
>     --include-path   Include path in source tree
> 
> Does Solution.pm need to be tweaked?

So Getopt::Long does not like the missing ' ' or '=', eh?
I pushed an untested fix, let's see if that's it.  Thanks for the poke.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Blind attempt at fixing Windows build
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Relax overly strict assertion