Re: Convert varatt.h macros to static inline functions
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Michael Paquier <michael@paquier.xyz>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-08-03T20:20:31Z
Lists: pgsql-hackers
Attachments
- v2-0001-Convert-varatt.h-access-macros-to-static-inline-f.patch (text/x-diff) patch v2-0001
It looks like the majority vote is still in favor of writing out DatumGetPointer instead of using "_D()" functions, so let's roll with that approach. I looked through our two versions of the varatt.h changes and merged them. The attached is only cosmetically different from yours, I think --- mostly, I kept the comments I'd written. I've tested this atop 0001-0005 from [1], and it all seems good. I'd like to move along with getting these changes committed, and then I'll take another look at the 8-byte-datums-everywhere proposal. regards, tom lane [1] https://www.postgresql.org/message-id/8246d7ff-f4b7-4363-913e-827dadfeb145%40eisentraut.org
Commits
-
Suppress maybe-uninitialized warning.
- b5c53b403c93 19 (unreleased) landed
-
Convert varatt.h access macros to static inline functions.
- e035863c9a04 19 (unreleased) landed
-
Fix varatt versus Datum type confusions
- 0f5ade7a367c 19 (unreleased) landed