Re: current is broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: current is broken
Date: 2000-09-13 04:35:15
Message-ID: 5974.968819715@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2000-09-13 04:56:46 Re: current is broken
Previous Message Tatsuo Ishii 2000-09-13 04:07:22 current is broken