Refactor compile-time assertion checks for C/C++

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Refactor compile-time assertion checks for C/C++
Date: 2020-02-04 08:15:03
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi all,

As of [1], I have been playing with the compile time assertions that
we have for expressions, declarations and statements. And it happens
that it is visibly possible to consolidate the fallback
implementations for C and C++. Attached is the result of what I am
getting at. I am adding this patch to next CF. Thoughts are



Attachment Content-Type Size
0001-Refactor-assertion-definitions-in-c.h.patch text/x-diff 2.8 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-02-04 08:20:36 Re: Add %x to PROMPT1 and PROMPT2
Previous Message Amit Langote 2020-02-04 06:59:46 Re: pg_stat_progress_basebackup - progress reporting for pg_basebackup, in the server side