Re: [HACKERS] Problem on AIX with current

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Problem on AIX with current
Date: 2001-10-05 02:38:40
Message-ID: 200110050238.f952ceq14629@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brent Verner 2001-10-05 03:38:24 typo in src/interfaces/ecpg/preproc/preproc.y
Previous Message John Summerfield 2001-10-05 02:03:14 Re: cvs problem

Browse pgsql-patches by date

  From Date Subject
Next Message Paul A Vixie 2001-10-05 08:38:53 Re: IPv6 Support for INET/CIDR types.
Previous Message Tatsuo Ishii 2001-10-05 01:45:49 Re: [HACKERS] Problem on AIX with current