Re: moving from contrib to bin

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: moving from contrib to bin
Дата
Msg-id 20141217190219.GH1768@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: moving from contrib to bin  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: moving from contrib to bin  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
I know this is how it currently works, but it looks way too messy to me:

+    my $pgarchivecleanup = AddSimpleFrontend('pg_archivecleanup');
+    my $pgstandby = AddSimpleFrontend('pg_standby');
+    my $pgtestfsync = AddSimpleFrontend('pg_test_fsync');
+    my $pgtesttiming = AddSimpleFrontend('pg_test_timing');
+    my $pgbench = AddSimpleFrontend('pgbench', 1);

ISTM we should be something like 

for each $elem in src/bin/Makefile:$(SUBDIRS)AddSimpleFrontend($elem)

and avoid having to list the modules one by one.

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



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: btree_gin and ranges
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: On partitioning