Thread: pgsql: In ecpg, automatically double single quotes in $$ strings because

pgsql: In ecpg, automatically double single quotes in $$ strings because

From
momjian@postgresql.org (Bruce Momjian)
Date:
Log Message:
-----------
In ecpg, automatically double single quotes in $$ strings because
internally $$ strings are converted to single-quote strings.

In ecpg, output newlines in commands using standard C escapes, rather
than using literal newlines, which is not portable.

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/preproc:
        output.c (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/output.c.diff?r1=1.12&r2=1.13)
        pgc.l (r1.140 -> r1.141)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/pgc.l.diff?r1=1.140&r2=1.141)