RE: [HACKERS] Open 6.4 items - Mailing list pgsql-hackers

From Taral
Subject RE: [HACKERS] Open 6.4 items
Date
Msg-id 000201be035e$5a417140$3b291f0a@taral
Whole thread Raw
In response to Re: [HACKERS] Open 6.4 items  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> Wow, that really is strange.  Seems like with the -f, it looks in one
> place, as though it knows the child did not exec, so they params must be
> the same, while with no -f, it looks in the proper area.  The really
> weird thing is that even the postmaster is called postgres.  That is
> bizarre.

Yes. With -f, it looks in the process's argv... without, it looks in the
task struct where only the executable name was stored (no path or anything
else). It's a feature to prevent processes that spoof as something else...
(not very effective, IMHO)

Taral



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Another bug in pg_operator.h
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Open 6.4 items