diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-03-13 15:04:11 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-03-13 15:04:11 +0900 |
commit | b7f64c64d3262c309e2c5e8c11fd111b1dbd1a4a (patch) | |
tree | dea82b98b8f78a87955348bfb59e79785055196f /src/backend/utils/adt/pgstatfuncs.c | |
parent | a029a0641cce002acbb5e8ac6ec5533e599a9aea (diff) | |
download | postgresql-b7f64c64d3262c309e2c5e8c11fd111b1dbd1a4a.tar.gz postgresql-b7f64c64d3262c309e2c5e8c11fd111b1dbd1a4a.zip |
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/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions