postgresql/src/include/nodes
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
..
bitmapset.h Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
execnodes.h Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
extensible.h Allow custom and foreign scans to have shutdown callbacks. 2017-02-26 13:41:12 +05:30
lockoptions.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
makefuncs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
memnodes.h Add "Slab" MemoryContext implementation for efficient equal-sized allocations. 2017-02-27 03:41:44 -08:00
nodeFuncs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes.h Cast result of copyObject() to correct type 2017-03-28 21:59:23 -04:00
params.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
parsenodes.h Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
pg_list.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
plannodes.h Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
primnodes.h Support XMLTABLE query expression 2017-03-08 12:40:26 -03:00
print.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
readfuncs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relation.h Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
replnodes.h Logical replication support for initial data copy 2017-03-23 08:55:37 -04:00
tidbitmap.h tidbitmap: Support shared iteration. 2017-03-08 08:09:38 -05:00
value.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00