| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] Problem after removal of exec(), help |
| Дата | |
| Msg-id | 199806231842.OAA07037@candle.pha.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Problem after removal of exec(), help (dg@illustra.com (David Gould)) |
| Список | pgsql-hackers |
> Replacing the postgres binary with a shell script that executes the real
> postgres binary and then moves the gmon.out file out of the way.
>
> $ mv postgres postgres.bin
> $cat > postgres
> #!/bin/sh
> postgres.bin $*
> mv gmon.out gmon.$$
> ^D
> $ postmaster ...
> $ psql template1
>
Ah, I see. Re-enabling exec() is not a trivial job. Perhaps you can put a
system("mv ...") call in the postmaster backend cleanup code.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера