Re: current is broken - Mailing list pgsql-hackers

From Tom Lane
Subject Re: current is broken
Date
Msg-id 5974.968819715@sss.pgh.pa.us
Whole thread Raw
In response to current is broken  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: current is broken
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: current is broken
Next
From: Tatsuo Ishii
Date:
Subject: Re: current is broken