Buildfarm failures en masse

Поиск
Список
Период
Сортировка
Искать

Buildfarm failures en masse

От:
Magnus Hagander <magnus@hagander.net>
Дата:
Seems the change of the XML messages now causes more or less every
buildfarm member to fail the XML test. Meaning all the ones that don't have
libxml, but that seems to be the vast majority...

Looks like a missing update to regression tests?

//Magnus


Re: Buildfarm failures en masse

От:
Alvaro Herrera <alvherre@commandprompt.com>
Дата:
Magnus Hagander wrote:
> Seems the change of the XML messages now causes more or less every
> buildfarm member to fail the XML test. Meaning all the ones that don't have
> libxml, but that seems to be the vast majority...
> 
> Looks like a missing update to regression tests?

I don't think the new wording complies with the message guidelines
anyway, so my vote goes to revert the wording change and reach a
consensus about it before committing anything else.

I think this should be

ERROR: unsupported XML feature
DETAIL: The function foo requires libxml2 support.
HINT: You need to re-compile PostgreSQL with --enable-whatever-xml.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Re: Buildfarm failures en masse

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Alvaro Herrera wrote:
> Magnus Hagander wrote:
> > Seems the change of the XML messages now causes more or less every
> > buildfarm member to fail the XML test. Meaning all the ones that don't have
> > libxml, but that seems to be the vast majority...
> > 
> > Looks like a missing update to regression tests?
> 
> I don't think the new wording complies with the message guidelines
> anyway, so my vote goes to revert the wording change and reach a
> consensus about it before committing anything else.
> 
> I think this should be
> 
> ERROR: unsupported XML feature
> DETAIL: The function foo requires libxml2 support.
> HINT: You need to re-compile PostgreSQL with --enable-whatever-xml.

Yes, I like your wording better.  I will make the updates to the code
and regression tests.

--  Bruce Momjian            http://momjian.us EnterpriseDB                               http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +

Re: Buildfarm failures en masse

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Bruce Momjian wrote:
> Alvaro Herrera wrote:
> > Magnus Hagander wrote:
> > > Seems the change of the XML messages now causes more or less every
> > > buildfarm member to fail the XML test. Meaning all the ones that don't have
> > > libxml, but that seems to be the vast majority...
> > > 
> > > Looks like a missing update to regression tests?
> > 
> > I don't think the new wording complies with the message guidelines
> > anyway, so my vote goes to revert the wording change and reach a
> > consensus about it before committing anything else.
> > 
> > I think this should be
> > 
> > ERROR: unsupported XML feature
> > DETAIL: The function foo requires libxml2 support.
> > HINT: You need to re-compile PostgreSQL with --enable-whatever-xml.
> 
> Yes, I like your wording better.  I will make the updates to the code
> and regression tests.

OK, new wording:
ERROR:  unsupported XML featureDETAIL:  This functionality requires libxml support.HINT:  You need to re-compile PostgreSQL using --with-libxml.

The error is all in one macro, so it has to be generic and not mention
the specific function, or xml data type.  Regression tests updated.

--  Bruce Momjian            http://momjian.us EnterpriseDB                               http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +

FAQ