This patch makes the second parameter to plpgsql_dstring_append() aconst char * (rather than a char *), to get rid of a cast in gram.y.This patch has been applied to HEAD.
-Neil