Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for "type" object_type in postgresql_grant #378

Open
adriansabas opened this issue Nov 30, 2023 · 0 comments
Open

Support for "type" object_type in postgresql_grant #378

adriansabas opened this issue Nov 30, 2023 · 0 comments

Comments

@adriansabas
Copy link

adriansabas commented Nov 30, 2023

Hi there,

I've noticed that not all postgresql object_types are supported inpostgresql_grant resource.
As stated in documentation postgesql_grant doc "type" is not listed as available but on the other hand in postgresql_default_privileges resource, "type" is present.

I run into issue because TimescaleDB for postgre has it's own custom "rxid" type and i need to add access to it.
When I tried to grant privilages for type regardless of it not being stated in documentationi had following error which was of course expected.

Error: expected object_type to be one of [database function procedure routine schema sequence table foreign_data_wrapper foreign_server column], got type

It would be great to have all postgresql database object types supported in postgresql_grant. Objects are listed in official postgre docs: grant postgre docs

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

No branches or pull requests

1 participant