diff options
author | Michael Paquier | 2020-03-13 06:04:11 +0000 |
---|---|---|
committer | Michael Paquier | 2020-03-13 06:04:11 +0000 |
commit | b7f64c64d3262c309e2c5e8c11fd111b1dbd1a4a (patch) | |
tree | dea82b98b8f78a87955348bfb59e79785055196f /src/include/postgres.h | |
parent | a029a0641cce002acbb5e8ac6ec5533e599a9aea (diff) |
Refactor compile-time assertion checks in c.h
This commit refactors and simplifies the definitions of StaticAssertStmt,
StaticAssertExpr and StaticAssertDecl. By unifying the C and C++
fallback implementations, this reduces the number of different
implementations from four to three.
Author: Michael Paquier
Reviewed-by: Georgios Kokolatos, Tom Lane
Discussion: https://postgr.es/m/20200204081503.GF2287@paquier.xyz
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions