Unix Technical Forum

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

This is a discussion on pgsql: Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must be non-NULL in this function, so ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Committers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 12:13 PM
Neil Conway
 
Posts: n/a
Default pgsql: Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must

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/cvsw...1=1.23&r2=1.24)

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:10 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com