Thread: pgsql: Minor ecpg tweak: the return value of calloc() is guaranteed to

pgsql: Minor ecpg tweak: the return value of calloc() is guaranteed to

From
neilc@svr1.postgresql.org (Neil Conway)
Date:
Log Message:
-----------
Minor ecpg tweak: the return value of calloc() is guaranteed to be NULL
or zero-filled; therefore zero-filling it via memset() is pointless.
(I think setting `errno' is probably a waste of cycles as well, but I
haven't changed that.)

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/pgtypeslib:
        common.c (r1.10 -> r1.11)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/common.c.diff?r1=1.10&r2=1.11)