This is a discussion on pgsql: Minor ecpg tweak: the return value of calloc() is guaranteed to within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Minor ecpg tweak: the return value of calloc() is guaranteed to be NULL or zero-filled; therefore ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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/cvsw...1=1.10&r2=1.11) ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend |
| Thread Tools | |
| Display Modes | |
|
|