summaryrefslogtreecommitdiff
path: root/src/interfaces/python/pg.py
diff options
context:
space:
mode:
authorAndres Freund2025-07-09 22:38:05 +0000
committerAndres Freund2025-07-09 22:38:05 +0000
commitd65eb5b1b84e9104144b6b07b526bc73e819d6d7 (patch)
tree683e0005b3b1bcdecdaf9256c7b35d380235d5d9 /src/interfaces/python/pg.py
parent4df477153a6b9339acafbf4162fd8fa3f33e89d2 (diff)
Add pg_assume(expr) macro
This macro can be used to avoid compiler warnings, particularly when using -O3 and not using assertions, and to get the compiler to generate better code. A subsequent commit introduces a first user. Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/3prdb6hkep3duglhsujrn52bkvnlkvhc54fzvph2emrsm4vodl@77yy6j4hkemb Discussion: https://postgr.es/m/20230316172818.x6375uvheom3ibt2%40awork3.anarazel.de Discussion: https://postgr.es/m/20240207203138.sknifhlppdtgtxnk%40awork3.anarazel.de
Diffstat (limited to 'src/interfaces/python/pg.py')
0 files changed, 0 insertions, 0 deletions