postgresql/src/backend/utils/cache
Peter Eisentraut 4cb824699e Cast result of copyObject() to correct type
copyObject() is declared to return void *, which allows easily assigning
the result independent of the input, but it loses all type checking.

If the compiler supports typeof or something similar, cast the result to
the input type.  This creates a greater amount of type safety.  In some
cases, where the result is assigned to a generic type such as Node * or
Expr *, new casts are now necessary, but in general casts are now
unnecessary in the normal case and indicate that something unusual is
happening.

Reviewed-by: Mark Dilger <hornschnorter@gmail.com>
2017-03-28 21:59:23 -04:00
..
attoptcache.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
catcache.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
evtcache.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
inval.c Consistently declare timestamp variables as TimestampTz. 2017-02-23 15:57:08 -05:00
lsyscache.c Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
Makefile Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
plancache.c Cast result of copyObject() to correct type 2017-03-28 21:59:23 -04:00
relcache.c Cast result of copyObject() to correct type 2017-03-28 21:59:23 -04:00
relfilenodemap.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relmapper.c Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
spccache.c Reduce lock levels for table storage params related to planning 2017-03-06 16:04:31 +05:30
syscache.c Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
ts_cache.c Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
typcache.c Faster expression evaluation and targetlist projection. 2017-03-25 14:52:06 -07:00