Add parens to ConvertToXSegs macro

Enterprise / PostgreSQL - Alvaro Herrera [alvh.no-ip.org] - 24 June 2020 18:00 UTC

The current definition is dangerous. No bugs exist in our code at present, but backpatch to 11 nonetheless where it was introduced.

Author: Álvaro Herrera

368d7f3297 Add parens to ConvertToXSegs macro
src/backend/access/transam/xlog.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Upstream: git.postgresql.org


  • Share