]> granicus.if.org Git - postgresql/commit
Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must be
authorNeil Conway <neilc@samurai.com>
Fri, 1 Jul 2005 05:12:06 +0000 (05:12 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 1 Jul 2005 05:12:06 +0000 (05:12 +0000)
commit9fad4cb6047db0a0bfe0e183b046a7d87b810a74
tree7a92b44db187a59b589830c0d5ae75eed31e22de
parent898a7bd13bb9d5ae36d2defcf3bbed3bd1d5ffd6
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.
src/interfaces/ecpg/pgtypeslib/dt_common.c