duplicate define in elog.h

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

duplicate define in elog.h

От:
Joe Conway <mail@joeconway.com>
Дата:
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 */

Joe


Re: duplicate define in elog.h

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Joe Conway  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

Re: duplicate define in elog.h

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Tom Lane wrote:
> Joe Conway  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

Man, I am unsafe with a command prompt.  :-)

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610) 359-1001 +  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

FAQ