Skip to content

Fix: error on creating try_convert extension#388

Merged
Smyatkin-Maxim merged 2 commits into
open-gpdb:OPENGPDB_STABLEfrom
roaldm153:try_convert_fix
Jun 11, 2026
Merged

Fix: error on creating try_convert extension#388
Smyatkin-Maxim merged 2 commits into
open-gpdb:OPENGPDB_STABLEfrom
roaldm153:try_convert_fix

Conversation

@roaldm153

@roaldm153 roaldm153 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Non-superusers can't create try_convert extension, receiving a permission denied error.
The fix is to add trusted = true to try_convert.control.
trusted = true allows installing the extension to any users with CREATE privileges on current database.
Extension is safe.

Here are some reminders before you submit the pull request

  • Add tests for the change
  • Document changes
  • Communicate in the mailing list if needed
  • Pass make installcheck
  • Review a PR in return to support the community

@Smyatkin-Maxim Smyatkin-Maxim 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.

1.1 should be removed, otherwise it's ok

Comment thread contrib/try_convert/try_convert.control Outdated
@Smyatkin-Maxim Smyatkin-Maxim merged commit 5b2fd56 into open-gpdb:OPENGPDB_STABLE Jun 11, 2026
22 checks passed
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