CVS source win32 mingw some comile error

Started by Korea PostgreSQL Users' Groupover 22 years ago2 messagespatches
Jump to latest
#1Korea PostgreSQL Users' Group
pgsql-kr@postgresql.or.kr

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.

#2Bruce Momjian
bruce@momjian.us
In reply to: Korea PostgreSQL Users' Group (#1)
Re: CVS source win32 mingw some comile error

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

Attachments:

/bjm/difftext/plainDownload+16-11