Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding
Date
Msg-id 4DA9E8FB.1020100@dunslane.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers

On 04/15/2011 04:36 PM, Peter Eisentraut wrote:
> On Fri, 2011-04-15 at 12:28 -0400, Andrew Dunstan wrote:
>> Yeah, what is the point of this?:
>>
>>      -# Adjust REGRESS_OPTS because we need a UTF8 database
>>      -REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB) --multibyte=UTF8 --no-locale
>>      +# We need a UTF8 database +ENCODING = UTF8 +NO_LOCALE = 1
>>
>>
>> Wouldn't it have worked just to change the way we spelled the option
>> name in the REGRESS_OPTS line?
> It would have, but this way you have the same uniform interface
> everywhere.  For example, you can easily override the encoding that that
> test prescribes.
>


Well whatever we do, the buildfarm is currently broken for all MSVC 
builds because of this change, so I hope you're intending to fix this.

cheers

andrew


pgsql-hackers by date:

Previous
From: Joshua Berkus
Date:
Subject: Re: MMAP Buffers
Next
From: Greg Smith
Date:
Subject: Re: Formatting Curmudgeons WAS: MMAP Buffers