Thread: pgsql: Replaced double-quote-fix with a hopefully better version.

pgsql: Replaced double-quote-fix with a hopefully better version.

From
meskes@postgresql.org (Michael Meskes)
Date:
Log Message:
-----------
Replaced double-quote-fix with a hopefully better version.
Use initializer string length as size for character strings.
Added ecpg_config.h file that is created via configure.

Modified Files:
--------------
    pgsql:
        configure (r1.501 -> r1.502)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.501&r2=1.502)
        configure.in (r1.472 -> r1.473)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in.diff?r1=1.472&r2=1.473)
    pgsql/src:
        Makefile.global.in (r1.225 -> r1.226)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/Makefile.global.in.diff?r1=1.225&r2=1.226)
    pgsql/src/interfaces/ecpg:
        ChangeLog (r1.326 -> r1.327)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ChangeLog.diff?r1=1.326&r2=1.327)
    pgsql/src/interfaces/ecpg/ecpglib:
        execute.c (r1.60 -> r1.61)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/execute.c.diff?r1=1.60&r2=1.61)
        extern.h (r1.18 -> r1.19)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/extern.h.diff?r1=1.18&r2=1.19)
    pgsql/src/interfaces/ecpg/include:
        Makefile (r1.25 -> r1.26)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/include/Makefile.diff?r1=1.25&r2=1.26)
        pgtypes_interval.h (r1.9 -> r1.10)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/include/pgtypes_interval.h.diff?r1=1.9&r2=1.10)
        pgtypes_timestamp.h (r1.10 -> r1.11)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/include/pgtypes_timestamp.h.diff?r1=1.10&r2=1.11)
    pgsql/src/interfaces/ecpg/preproc:
        preproc.y (r1.329 -> r1.330)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/preproc.y.diff?r1=1.329&r2=1.330)
    pgsql/src/interfaces/ecpg/test/compat_informix:
        dec_test.pgc (r1.2 -> r1.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/compat_informix/dec_test.pgc.diff?r1=1.2&r2=1.3)
    pgsql/src/interfaces/ecpg/test/expected:
        compat_informix-dec_test.c (r1.2 -> r1.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/compat_informix-dec_test.c.diff?r1=1.2&r2=1.3)
        compat_informix-dec_test.stdout (r1.1 -> r1.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/compat_informix-dec_test.stdout.diff?r1=1.1&r2=1.2)
        compat_informix-rnull.c (r1.1 -> r1.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/compat_informix-rnull.c.diff?r1=1.1&r2=1.2)
        pgtypeslib-num_test2.c (r1.5 -> r1.6)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.c.diff?r1=1.5&r2=1.6)
        pgtypeslib-num_test2.stdout (r1.3 -> r1.4)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.stdout.diff?r1=1.3&r2=1.4)
        sql-desc.c (r1.3 -> r1.4)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-desc.c.diff?r1=1.3&r2=1.4)
        sql-desc.stderr (r1.4 -> r1.5)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-desc.stderr.diff?r1=1.4&r2=1.5)
        sql-desc.stdout (r1.3 -> r1.4)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-desc.stdout.diff?r1=1.3&r2=1.4)
    pgsql/src/interfaces/ecpg/test/pgtypeslib:
        num_test2.pgc (r1.5 -> r1.6)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/pgtypeslib/num_test2.pgc.diff?r1=1.5&r2=1.6)
    pgsql/src/interfaces/ecpg/test/sql:
        desc.pgc (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/sql/desc.pgc.diff?r1=1.3&r2=1.4)

Re: pgsql: Replaced double-quote-fix with a hopefully

From
Stefan Kaltenbrunner
Date:
Michael Meskes wrote:
> Log Message:
> -----------
> Replaced double-quote-fix with a hopefully better version.
> Use initializer string length as size for character strings.
> Added ecpg_config.h file that is created via configure.

hmm looks like this is causing all of the buildfarm boxes to fail:

http://www.pgbuildfarm.org/cgi-bin/show_status.pl

Stefan

Re: pgsql: Replaced double-quote-fix with a hopefully better version.

From
Michael Meskes
Date:
On Wed, Aug 23, 2006 at 02:50:05PM +0200, Stefan Kaltenbrunner wrote:
> hmm looks like this is causing all of the buildfarm boxes to fail:
>
> http://www.pgbuildfarm.org/cgi-bin/show_status.pl

It should compile again now. First I forgot a file which is purely my
fault. But the second is very strange because it compiled and ran for
me, although the source file didn't have the change. I did a cvs update
before committing, maybe this destroyed it. I have no clue at all.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!