Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> It seems current source is broken if MB is enabled.
> gcc -c -I../../../src/interfaces/libpq -I../../../src/include -I../../../src/interfaces/libpq -O2 -Wall
-Wmissing-prototypes-Wmissing-declarations pg_dump.c -o pg_dump.o
> pg_dump.c: In function `isViewRule':
> pg_dump.c:267: parse error before `int'
I just fixed one of these in the backend --- looks like someone was
testing with a C++ compiler instead of an ANSI-C-compliant compiler.
Need to put the 'int len;' declaration at the top of the function.
> pg_dump.c:268: warning: implicit declaration of function `pg_mbcliplen'
> Moreover, pg_mbcliplen cannot be used in frontend.
Ooops. I guess libpq needs to supply a copy of this function?
regards, tom lane