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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding
Date: 2011-04-19 20:00:33
Message-ID: 1303243233.25911.9.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sat, 2011-04-16 at 15:07 -0400, Andrew Dunstan wrote:
> 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.

I was able to fix this properly now after figuring out that you can
actually run vcregress.pl on Linux. So it should be easier to deal with
these sorts of issues in the future.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-04-19 22:51:40 pgsql: Avoid changing an index's indcheckxmin horizon during REINDEX.
Previous Message Peter Eisentraut 2011-04-19 19:58:34 pgsql: Refix the unaccent regression test on MSVC properly

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-04-19 21:26:01 Re: Typed table DDL loose ends
Previous Message Tom Lane 2011-04-19 19:27:18 Re: Transforming IN (...) to ORs, volatility