> > 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.

Andreas
Thu, 4 Oct 2001 16:41:34 +0200
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Re: [HACKERS] Problem on AIX with current 

Your patch has been added to the PostgreSQL unapplied patches list at:

	http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> 
> > > 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.
> 
> Andreas

Content-Description: ps_status.patch

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Thu, 4 Oct 2001 14:27:01 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] Problem on AIX with current
> > > 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


Fri, 05 Oct 2001 10:45:49 +0900
Tatsuo Ishii <t-ishii@sra.co.jp>
Re: [HACKERS] Problem on AIX with current 

Patch rejected, please resubmit:

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

> 
> > > 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.
> 
> Andreas

Content-Description: ps_status.patch

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Thu, 4 Oct 2001 22:38:40 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] Problem on AIX with current