Re: duplicate define in elog.h - Mailing list pgsql-hackers

From Tom Lane
Subject Re: duplicate define in elog.h
Date
Msg-id 16765.1058225915@sss.pgh.pa.us
Whole thread Raw
In response to duplicate define in elog.h  (Joe Conway <mail@joeconway.com>)
Responses Re: duplicate define in elog.h  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> I was looking through elog.h and noticed this at about line 36:
> #define ERROR    20    /* user error - abort transaction; return
>              * to known state */
> #define ERROR    20    /* user error - abort transaction; return
>              * to known state */

Good catch.  Looks like it snuck in here:
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/elog.h.diff?r1=1.41&r2=1.42
        regards, tom lane


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: duplicate define in elog.h
Next
From: Tom Lane
Date:
Subject: Re: Transaction handling in extended query mode and Sync message issues