CVS source win32 mingw some comile error
src/backend/commands/user.c file has some parse error at repalloc(), palloc() functions
and
src/backend/postmaster/pgstat.c miss
#include "tcop/tcopprot.h" line.
and
src/utils/dllinit.c wrong include header line at MinGW.
#include <cygwin/version.h> must be not included
by the way,
I can't compile eccp because I used lower version bison.
and bin/pg_resetxlog too. in this case I can't find what's wrong.
Korea PostgreSQL Users' Group wrote:
src/backend/commands/user.c file has some parse error at repalloc(), palloc() functions
Fixed. Thanks.
src/backend/postmaster/pgstat.c miss
#include "tcop/tcopprot.h" line.
Fixed.
src/utils/dllinit.c wrong include header line at MinGW.
#include <cygwin/version.h> must be not included
Fixed.
by the way,
I can't compile eccp because I used lower version bison.
and bin/pg_resetxlog too. in this case I can't find what's wrong.
The problem with pg_resetxlog is that it calls unlink in dirmod, and
that is in libport, and the libport version doesn't have FRONTEND
defined, so it fails on the elog() call. Claudio already reported it,
and the attached patch fixes this and some others above that had not
been fixed previously, all applied to CVS.
--
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