Re: Why do we have perl and sed versions of Gen_dummy_probes?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Why do we have perl and sed versions of Gen_dummy_probes? |
| Дата | |
| Msg-id | 4118014.1620274692@sss.pgh.pa.us обсуждение |
| Ответ на | Why do we have perl and sed versions of Gen_dummy_probes? (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Why do we have perl and sed versions of Gen_dummy_probes?
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> I understand why we don't want to rely on sed because of windows - but
> it's far from obvious why we can't just use the .pl variant all the
> time?
Perl is not considered a hard build requirement on non-Windows.
We could dodge that by shipping a pre-built dummy probes.h,
but that doesn't really seem like a cleaner way than what's
there now.
Also, as I read it, Gen_dummy_probes.sed is useful in any case as
being the "source code" for Gen_dummy_probes.pl. You'd need some
other form of documentation if you removed it.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера