Re: Problem on AIX with current - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Problem on AIX with current
Date
Msg-id 20011005104549Y.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Problem on AIX with current  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
> > > Only problem on AIX is, that the argv[0] stuff does not work anymore
> > > (I think since we don't exec() anymore), which is rather annoying.
> >
> > Hmm, perhaps we are selecting the wrong PS_STRINGS method for AIX?
> > Please look at src/backend/utils/misc/ps_status.c and see if one of
> > the other methods will work on AIX.
>
> Yes, I see. Quite silly that I did not look earlier.
> The compiler does not define _AIX4 or _AIX3, no idea who thought that.
> It only defines _AIX, _AIX32, _AIX41 and _AIX43.
>
> I am quite sure that all AIX Versions accept the CLOBBER method,
> thus I ask you to apply the following patch, to make it work.

CLOBBER does not work with AIX5L, nor CHANGE_ARGV. (SETPROCTITLE,
PSTAT and PS_STRINGS can not be used since AIX5L does not have
appropreate header files).
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for fixing a few memory leaks
Next
From: Bruce Momjian
Date:
Subject: Re: Problem on AIX with current