Skip site navigation (1) Skip section navigation (2)

pgsql: Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must
Date: 2005-07-01 05:12:06
Message-ID: 20050701051206.C9409528A8@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must be
non-NULL in this function, so there is no need to check for it (2) we
should check the return value of pgtypes_strdup(). Patch from Eric
Astor at EnterpriseDB, with slight cleanup by myself, per a report
from the Coverity tool.

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/pgtypeslib:
        dt_common.c (r1.23 -> r1.24)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/dt_common.c.diff?r1=1.23&r2=1.24)

pgsql-committers by date

Next:From: Neil ConwayDate: 2005-07-01 05:13:59
Subject: pgsql: Adds some missing error handling to PGTYPESnumeric_div() in
Previous:From: James William PyeDate: 2005-07-01 00:32:05
Subject: python - ex: Fix breakage cause by previous commit.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group