Hi Tom,
> The particular case that the bug was reported for was a long string
> literal, eg 'lots of text here'.
[...]
Downloaded the 1.18 version of pl_funcs.c and put it in the source code
tree, "make clean", "make", and it hangs:
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -fpic
-I. -I../../../../src/include -I/usr/local/ssl/include -c -o pl_funcs.o
pl_funcs.c
pl_funcs.c:8: unterminated character constant
pl_funcs.c:13: unterminated character constant
pl_funcs.c:15: unterminated character constant
pl_funcs.c:17: unterminated character constant
make[4]: *** [pl_funcs.o] Error 1
make[4]: Leaving directory `/usr/src/postgresql-7.2.1/src/pl/plpgsql/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/postgresql-7.2.1/src/pl/plpgsql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.2.1/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.2.1/src'
make: *** [all] Error 2
Kind regards
... Ralph ...