"Verbus Counts" <[EMAIL PROTECTED]> writes:
>> Can you show us the stack trace ?

> Here is:

Hm, getaddrinfo() is crashing?

Does HPUX 11 have more fields in "struct addrinfo" than are initialized in
lines 189-196 of src/backend/postmaster/pgstat.c, viz

        hints.ai_flags = AI_PASSIVE;
        hints.ai_family = PF_UNSPEC;
        hints.ai_socktype = SOCK_DGRAM;
        hints.ai_protocol = 0;
        hints.ai_addrlen = 0;
        hints.ai_addr = NULL;
        hints.ai_canonname = NULL;
        hints.ai_next = NULL;

If so, perhaps adding "memset(&hints, 0, sizeof(hints));" right before
these lines would improve matters.

Otherwise I think this is probably an HPUX bug.  You might need to get a
more recent version of libc.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to