Skip to content

Use path-lookup of pgrx modules in shmem macros - #2371

Open
cbandy wants to merge 1 commit into
pgcentralfoundation:developfrom
cbandy:qualified-mods
Open

cbandy wants to merge 1 commit into
pgcentralfoundation:developfrom
cbandy:qualified-mods

Conversation

@cbandy

@cbandy cbandy commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

This lets the caller use pg_shmem_init without pg_guard or pg_sys in scope.

error: cannot find attribute `pg_guard` in this scope

Fixes: #2370

This lets the caller use `pg_shmem_init` without `pg_guard` or `pg_sys`
in scope.

    error: cannot find attribute `pg_guard` in this scope

Fixes: pgcentralfoundation#2370

@0xPoe 0xPoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

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.

pg_shmem_init expects pg_guard in scope

2 participants