From: | Maxim Orlov <orlovmg(at)gmail(dot)com> |
---|---|
To: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Turn TransactionIdRetreat/Advance into inline functions |
Date: | 2022-10-10 14:34:14 |
Message-ID: | CACG=ezaaUHoT8xqhiQuEWRtgAjExgzScgzkfeBRWWLYrQ=UYrw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi!
This patch is inspired by [0] and many others.
I've notice recent activity to convert macros into inline functions. We
should make TransactionIdRetreat/Advance functions
Instead of a macro, should we?
I also think about NormalTransactionIdPrecedes and
NormalTransactionIdFollows, but maybe, they should be addressed
separately: the comment says that "this is a macro for speed".
Any thoughts?
[0]:
https://www.postgresql.org/message-id/flat/5b558da8-99fb-0a99-83dd-f72f05388517%40enterprisedb.com
--
Best regards,
Maxim Orlov.
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Convert-macros-to-static-inline-functions-transam.patch | application/octet-stream | 8.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-10-10 14:34:23 | Re: src/test/perl/PostgreSQL/Test/*.pm not installed |
Previous Message | Nazir Bilal Yavuz | 2022-10-10 14:32:16 | Re: kerberos/001_auth test fails on arm CPU darwin |