Thread: pgsql: Do not try to change a const variable.
Log Message: ----------- Do not try to change a const variable. Modified Files: -------------- pgsql/src/interfaces/ecpg: ChangeLog (r1.392 -> r1.393) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ChangeLog?r1=1.392&r2=1.393) pgsql/src/interfaces/ecpg/ecpglib: misc.c (r1.44 -> r1.45) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/misc.c?r1=1.44&r2=1.45)
On Mon, 2008-12-15 at 15:34 +0000, Michael Meskes wrote: > Modified Files: > -------------- > pgsql/src/interfaces/ecpg/ecpglib: > misc.c (r1.44 -> r1.45) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/misc.c?r1=1.44&r2=1.45) I get this misc.c:253: warning: assignment discards qualifiers from pointer target type I'm guessing that error comes from this commit? -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support
Simon Riggs <simon@2ndQuadrant.com> writes: > I get this > misc.c:253: warning: assignment discards qualifiers from pointer target > type > I'm guessing that error comes from this commit? Yeah. It's got worse problems than that too: it's not accounting for possibility that internationalized string is significantly longer than the ASCII version. Fixed, I think. regards, tom lane