Re: size of function body - Mailing list pgsql-general

From Ralph Graulich
Subject Re: size of function body
Date
Msg-id Pine.LNX.4.21.0207170112040.9511-100000@shauny.shauny.de
Whole thread Raw
In response to Re: size of function body  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
[...]
> > pl_funcs.c:15: unterminated character constant
> > pl_funcs.c:17: unterminated character constant
> It compiles fine here.  You sure you got a clean download?

After I did a "make distclean", ran configure again and made the necessary
changes for supporting more than 16 function parameters, it compiled fine
for me, too. Maybe "make clean" just wasn't enough this time.

Installed and tested. Added the testing UPDATE statement again. It works.
Added the testing UPDATE statement 20 times more, just to get the code
larger. Even this way it works, now. Seems like patching pl_funcs.c fixed
that bug for me! So the 8190/2 byte limit for the bug occuring was more or
less accidently... *shrugs*

Maybe we can have a bug description included in the online error docs
somewhere, so others can use it for future reference?

Many thanks for your friendly help.


Kind regards
... Ralph ... happy child again


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: size of function body
Next
From: Tom Lane
Date:
Subject: Re: table size growing out of control