Re: Regression tests versus the buildfarm environment

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Regression tests versus the buildfarm environment
Date: 2010-08-11 15:37:22
Message-ID: 4C62C3B2.1080700@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/11/2010 10:23 AM, Robert Haas wrote:
>
>> Or we could do something like
>>
>> port = 0xC000 ^ (DEF_PGPORT& 0x7FFF);
>>
>> which is absolutely guaranteed not to conflict with DEF_PGPORT, at the
>> cost of possibly shifting into the 32K-48K port number range if you
>> had set DEF_PGPORT above 48K.
> I like XOR a lot better than OR.
>

For years we told people to make sure they picked 4 digit port numbers
for the buildfarm, and while I removed that note recently it can be put
back. So I don't think there's much danger - let's got with XOR.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-08-11 15:38:07 Re: MERGE command for inheritance
Previous Message Tom Lane 2010-08-11 15:35:04 Re: Regression tests versus the buildfarm environment