Skip to content

Modernize our way to call ereport()#200

Merged
jeltz merged 1 commit intopercona:TDE_REL_17_STABLEfrom
jeltz:tde/modern-ereport
Apr 10, 2025
Merged

Modernize our way to call ereport()#200
jeltz merged 1 commit intopercona:TDE_REL_17_STABLEfrom
jeltz:tde/modern-ereport

Conversation

@jeltz
Copy link
Collaborator

@jeltz jeltz commented Apr 10, 2025

I had forgot about this until Anders pointed it out.

Commit e3a87b4 added a way to call ereport() without any extra parentheses which was backported all the way back to PostgreSQL 12. The new modern way improves code readability slightly.

@jeltz jeltz requested review from dAdAbird and dutow as code owners April 10, 2025 09:30
@jeltz jeltz force-pushed the tde/modern-ereport branch from 912401d to 77a7f22 Compare April 10, 2025 09:39
@jeltz jeltz force-pushed the tde/modern-ereport branch from 77a7f22 to 11ba4b3 Compare April 10, 2025 17:49
Commit e3a87b4 added a way to call
ereport() without any extra parentheses which was backported all the way
back to PostgreSQL 12. The new modern way improves code readability
slightly.
@jeltz jeltz force-pushed the tde/modern-ereport branch from 11ba4b3 to 1475ca0 Compare April 10, 2025 18:09
@jeltz jeltz merged commit 725c34d into percona:TDE_REL_17_STABLE Apr 10, 2025
14 checks passed
@jeltz jeltz deleted the tde/modern-ereport branch April 10, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants