Re: b21de4e7b32f868a23bdc5507898d36cbe146164 seems to be two bricks shy of a load

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: b21de4e7b32f868a23bdc5507898d36cbe146164 seems to be two bricks shy of a load
Date: 2013-11-21 13:33:09
Message-ID: 528E0B95.9050202@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2013-11-21 11:52 keltezéssel, David Rowley írta:
> I'm not quite sure why nobody else seems to be complaining, but the changes to type.h in
> this commit seems to have broken things little.
>
> In the visual studios build I'm getting:
>
> src\interfaces\ecpg\preproc\preproc.y(84): error C2065: 'ET_FATAL' : undeclared
> identifier [D:\Postgres\b\ecpg.vcxproj]
> src\interfaces\ecpg\preproc\preproc.y(84): error C2051: case expression not constant
> [D:\Postgres\b\ecpg.vcxproj]
> src\interfaces\ecpg\preproc\preproc.y(102): error C2065: 'ET_FATAL' : undeclared
> identifier [D:\Postgres\b\ecpg.vcxproj]
> src\interfaces\ecpg\preproc\preproc.y(102): error C2051: case expression not constant
> [D:\Postgres\b\ecpg.vcxproj]
> src\interfaces\ecpg\preproc\preproc.y(14664): error C2065: 'ET_FATAL' : undeclared
> identifier [D:\Postgres\b\ecpg.vcxproj]
>
> Which I'm guessing is something to do with:
>
> --- a/src/interfaces/ecpg/preproc/type.h
> <http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/interfaces/ecpg/preproc/type.h;h=b7768fd66146e16547f385d30272e2a42e4d6832;hb=b7768fd66146e16547f385d30272e2a42e4d6832>
> +++ b/src/interfaces/ecpg/preproc/type.h
> <http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/interfaces/ecpg/preproc/type.h;h=cd0d1da8c4a1a641acd9f6b6b7dfa88e7241394d;hb=cd0d1da8c4a1a641acd9f6b6b7dfa88e7241394d>
> @@ -186,7
> <http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/interfaces/ecpg/preproc/type.h;h=b7768fd66146e16547f385d30272e2a42e4d6832;hb=b7768fd66146e16547f385d30272e2a42e4d6832#l186>
> +186,7
> <http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/interfaces/ecpg/preproc/type.h;h=cd0d1da8c4a1a641acd9f6b6b7dfa88e7241394d;hb=cd0d1da8c4a1a641acd9f6b6b7dfa88e7241394d#l186>
> @@ struct assignment
> enum errortype
> {
> - ET_WARNING, ET_ERROR, ET_FATAL
> + ET_WARNING, ET_ERROR
> };
>
>
> Regards
>
> David Rowley

You should regenerate preproc.y.
"./configure --enable-depend" does the trick under Linux
but I don't know how to do it under Windows.

Best regards,
Zoltán Böszörményi

--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
http://www.postgresql.at/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2013-11-21 13:41:42 Re: b21de4e7b32f868a23bdc5507898d36cbe146164 seems to be two bricks shy of a load
Previous Message Andres Freund 2013-11-21 13:26:02 Re: Replication Node Identifiers and crashsafe Apply Progress