Re: [HACKERS] compile error via SIOCGLIFCONF from ip.c on hpux-11

2010-11-29 Thread Merlin Moncure
On Mon, Nov 29, 2010 at 2:26 PM, Tom Lane wrote: > Merlin Moncure writes: >> How do you test this feature? > > Try src/tools/ifaddrs/test_ifaddrs.c.  I think the only usage in the > core code is testing samehost/samenet matches in pg_hba.conf. It looks like this is unfortunately more involved.

Re: [HACKERS] compile error via SIOCGLIFCONF from ip.c on hpux-11

2010-11-29 Thread Tom Lane
Merlin Moncure writes: > How do you test this feature? Try src/tools/ifaddrs/test_ifaddrs.c. I think the only usage in the core code is testing samehost/samenet matches in pg_hba.conf. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.o

Re: [HACKERS] compile error via SIOCGLIFCONF from ip.c on hpux-11

2010-11-29 Thread Merlin Moncure
On Mon, Nov 29, 2010 at 1:38 PM, Tom Lane wrote: > Merlin Moncure writes: >> PostgreSQL 9 is breaking for me on line 654 of ip.c.  ip.c is checking >> on presence SIOCGLIFCONF to determine if it's ok to use linux method >> of polling if addrs etc over ioctl, which is not enough. hpux provides >>

Re: [HACKERS] compile error via SIOCGLIFCONF from ip.c on hpux-11

2010-11-29 Thread Tom Lane
Merlin Moncure writes: > PostgreSQL 9 is breaking for me on line 654 of ip.c. ip.c is checking > on presence SIOCGLIFCONF to determine if it's ok to use linux method > of polling if addrs etc over ioctl, which is not enough. hpux provides > this method in similar fashion, but the structs are name