Re: [BUGS] ECPG: "char*" instead of "const char*" in ecpglib.h

2005-11-12 Thread Qingqing Zhou
On Wed, 9 Nov 2005, Tomasz Ostrowski wrote: > > Using "char*" as an argument type instead of "const char*" in ecpglib.h > causes that for example the following sample program, basically > copied from docmentation > http://www.postgresql.org/docs/8.1/interactive/ecpg-dynamic.html , > does not comp

[BUGS] ECPG: "char*" instead of "const char*" in ecpglib.h

2005-11-09 Thread Tomasz Ostrowski
Using "char*" as an argument type instead of "const char*" in ecpglib.h causes that for example the following sample program, basically copied from docmentation http://www.postgresql.org/docs/8.1/interactive/ecpg-dynamic.html , does not compile using "gcc-4.0.1": test.pgc #include