postgresql/src/backend/access/rmgrdesc
Alvaro Herrera b89ee54e20 Fix some coding issues in BRIN
Reported by David Rowley: variadic macros are a problem.  Get rid of
them using a trick suggested by Tom Lane: add extra parentheses where
needed.  In the future we might decide we don't need the calls at all
and remove them, but it seems appropriate to keep them while this code
is still new.

Also from David Rowley: brininsert() was trying to use a variable before
initializing it.  Fix by moving the brin_form_tuple call (which
initializes the variable) to within the locked section.

Reported by Peter Eisentraut: can't use "new" as a struct member name,
because C++ compilers will choke on it, as reported by cpluspluscheck.
2014-11-08 00:31:03 -03:00
..
Makefile BRIN: Block Range Indexes 2014-11-07 16:38:14 -03:00
brindesc.c Fix some coding issues in BRIN 2014-11-08 00:31:03 -03:00
clogdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
dbasedesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
gindesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
gistdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
hashdesc.c Add rmgr callback to name xlog record types for display purposes. 2014-09-19 16:20:29 +02:00
heapdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
mxactdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
nbtdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
relmapdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
seqdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
smgrdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
spgdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
standbydesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
tblspcdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
xactdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00
xlogdesc.c Improve code around the recently added rm_identify rmgr callback. 2014-09-22 17:49:34 +02:00