Re: [HACKERS] failed Assert() in utf8_and_iso8859_1.c

2002-09-12 Thread Tatsuo Ishii
> Hmm, looks like all the conversion_procs files have > > Assert(len > 0); > > Surely that should be Assert(len >= 0)? > > I also notice that I neglected to change PG_RETURN_INT32(0) to > PG_RETURN_VOID() in these files. That's only cosmetic, but > probably it should be done. Fixed. --

Re: [HACKERS] failed Assert() in utf8_and_iso8859_1.c

2002-09-12 Thread Tom Lane
Karel Zak <[EMAIL PROTECTED]> writes: > In the server log file is: > TRAP: FailedAssertion("!(len > 0)", File: "utf8_and_iso8859_1.c", Line: 45) Hmm, looks like all the conversion_procs files have Assert(len > 0); Surely that should be Assert(len >= 0)? I also notice that I neglected

[HACKERS] failed Assert() in utf8_and_iso8859_1.c

2002-09-12 Thread Karel Zak
Hi, I have file with this code: -- \l SHOW SERVER_ENCODING; SHOW CLIENT_ENCODING; --- Languages table --- CREATE TABLE lang ( --- 'id' is here lang abbreviation --- id varchar(3) PRIMARY KEY, namevarchar(16) NOT NULL--- lan