Re: [HACKERS] removing the exec() from doexec()
| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] removing the exec() from doexec() |
| Дата | |
| Msg-id | 199804300251.WAA02244@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: [HACKERS] removing the exec() from doexec() (Brett McCormick <brett@work.chicken.org>) |
| Список | pgsql-hackers |
> > > sure enough.. well, try this on your OS and you can find out if perl > knows how to change it. it doesn't work under solaris. the args to > ps might be different for your system. > > perl -e '$0 = "it_works!";system "ps -p $$"' > > However, the args to the processes are so different that it seems easy > to tell the difference.. if you're a human. computers might have > more trouble. I've been known to use "killall postgres" (yes, I know, > I'm bad!!) The args don't change on a fork() either. The only way is to look at the parent of all the postgres children. -- 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 по дате отправления: