| От | Tom Lane |
|---|---|
| Тема | Re: Initial refactoring of plperl.c - updated |
| Дата | |
| Msg-id | 25644.1263104173@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Initial refactoring of plperl.c - updated (Tim Bunce <Tim.Bunce@pobox.com>) |
| Ответы |
Re: Initial refactoring of plperl.c - updated
|
| Список | pgsql-hackers |
Tim Bunce <Tim.Bunce@pobox.com> writes:
> On Sat, Jan 09, 2010 at 11:16:18PM +0200, Peter Eisentraut wrote:
>> What's the reason for the temp file here?
> Defensive. If the text2macro.pl program fails/dies then you'd be left
> with a broken output file with a newer timestamp, so the next make
> wouldn't rerun text2macro.pl.
Doesn't make forcibly remove the target file if the command fails?
[ rummages in manual... ] It does if you specify .DELETE_ON_ERROR,
which we do (in Makefile.global); so this bit of complication is
a waste.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера