Re: signal 11 on AIX: 7.4.2

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: signal 11 on AIX: 7.4.2
Date: 2004-04-26 19:19:21
Message-ID: 200404261919.i3QJJLu11298@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Has this been resolved?

---------------------------------------------------------------------------

Andrew Sullivan wrote:
> On Mon, Apr 19, 2004 at 11:18:07AM -0400, Tom Lane wrote:
> >
> > What you'd need to do is determine which system headers are being
> > #include'd by that config test, and then look through them to find
> > struct addrinfo.
>
> Well, I have this in /usr/include/netdb.h:
>
> struct addrinfo {
> int ai_flags; /* AI_PASSIVE, AI_CANONNAME,
> AI_NUMERICH
> OST */
> int ai_family; /* PF_xxx */
> int ai_socktype; /* SOCK_xxx */
> int ai_protocol; /* 0 or IPPROTO_xxx */
> size_t ai_addrlen; /* length of ai_addr */
> char *ai_canonname; /* canonical name for
> hostname */
> struct sockaddr *ai_addr; /* binary address */
> struct addrinfo *ai_next; /* next structure in list */
> };
>
> Using the cpp trick that Alvaro Herrera suggested, I see that file
> mentioned in the output, and this a little way along:
>
> struct addrinfo {
> int ai_flags;
> int ai_family;
> int ai_socktype;
> int ai_protocol;
> size_t ai_addrlen;
> char *ai_canonname;
> struct sockaddr *ai_addr;
> struct addrinfo *ai_next;
> };
>
> So it looks like that must be the one. Dunno if this helps.
>
> A
>
> --
> Andrew Sullivan | ajs(at)crankycanuck(dot)ca
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message pgsql 2004-04-26 19:41:25 Re: Usability, MySQL, Postgresql.org, gborg, contrib, etc.
Previous Message Bruce Momjian 2004-04-26 19:09:48 Re: Thread code not vpath-safe