Re: [PATCH] Better way to check for getaddrinfo function.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "R, Rajesh (STSD)" <rajesh(dot)r2(at)hp(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [PATCH] Better way to check for getaddrinfo function.
Date: 2006-01-16 17:57:46
Message-ID: 9872.1137434266@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"R, Rajesh (STSD)" <rajesh(dot)r2(at)hp(dot)com> writes:
> Just thought that the following patch might improve checking for
> getaddrinfo function (in configure.in)

Since AC_TRY_RUN tests cannot work in cross-compilation scenarios,
you need an *extremely* good reason to put one in. "I thought this
might improve things" doesn't qualify. Exactly what problem are you
trying to solve and why is a run-time test necessary? Why doesn't
the existing coding work for you?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcin 2006-01-16 18:09:09 Huge number of disk writes after migration to 8.1
Previous Message Tom Lane 2006-01-16 17:41:46 Re: Rule system and unsucessful updates.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-01-16 18:03:20 Re: Docs off on ILIKE indexing?
Previous Message Tom Lane 2006-01-16 17:36:19 Re: Large Scale Aggregation (HashAgg Enhancement)