Skip to content

refactor: define the role helpers in the prelude - #268

Merged
utkarash2991 merged 1 commit into
masterfrom
utkarashsingh/psqlext-1816-prelude-helpers
Nov 1, 2026
Merged

utkarash2991 merged 1 commit into
masterfrom
utkarashsingh/psqlext-1816-prelude-helpers

Conversation

@utkarash2991

Copy link
Copy Markdown
Contributor

Follow up to #259. The role helpers move from utils.c into pg_prelude.h, above the pragma that blocks the raw lookups. Since the helpers are now the only code above the pragma, utils.c no longer needs the opt-out and the raw lookups are blocked everywhere.

@AndrewJackson2020

Copy link
Copy Markdown
Contributor

@utkarash2991 looks like this needs to be rebased.

@utkarash2991
utkarash2991 force-pushed the utkarashsingh/psqlext-1816-hook-handlers branch from 13e613b to a7b2715 Compare October 29, 2026 22:51
Base automatically changed from utkarashsingh/psqlext-1816-hook-handlers to master October 29, 2026 23:01
Move the role helpers from utils.c into pg_prelude.h, above the pragma
that blocks the raw lookups. The helpers are then the only code above the
pragma, so utils.c no longer needs the opt-out and the raw lookups are
blocked everywhere.
@utkarash2991
utkarash2991 force-pushed the utkarashsingh/psqlext-1816-prelude-helpers branch from f6be08a to cdbd8ca Compare October 29, 2026 23:06
@utkarash2991
utkarash2991 merged commit 5de3de1 into master Nov 1, 2026
21 checks passed
@utkarash2991
utkarash2991 deleted the utkarashsingh/psqlext-1816-prelude-helpers branch November 1, 2026 12:13
@steve-chavez

Copy link
Copy Markdown
Member

Not sure what happened here but CI has been flaky (ref) on main after this merge.

@AndrewJackson2020

AndrewJackson2020 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Not sure what happened here but CI has been flaky (ref) on main after this merge.

I think daylight savings time is to blame (not joking)

@AndrewJackson2020

Copy link
Copy Markdown
Contributor

Not sure what happened here but CI has been flaky (ref) on main after this merge.

#271

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.

3 participants