Skip to content

Extension custom scripts are not run for extensions not in privileged_extensions #146

@soedirgo

Description

@soedirgo

Bug report

Describe the bug

privileged_extensions_custom_scripts is a misnomer; from the name it sounds like it only applies for extensions in privileged_extensions, but in practice we also use it for pgmq as well as TLEs, which are not included in privileged_extensions.

This confusion led to a change in behavior in this refactor PR which made custom scripts only run for privileged_extensions. But there's no reason to impose this limitation since custom scripts are completely under our control.

To Reproduce

See the check failure here; observe that pgmq's after-create script is not run.

Expected behavior

PR above should not have diffs in snapshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions