cyrilgdn / terraform-provider-postgresql

Terraform PostgreSQL provider
https://www.terraform.io/docs/providers/postgresql/
Mozilla Public License 2.0
376 stars 194 forks source link

Please put a deprecation notice on the docs page about the `policy` block in the `postgresql_schema` block #269

Open tspearconquest opened 1 year ago

tspearconquest commented 1 year ago

Hello,

I am using provider version 1.18.0 and started working on some postgresql_schema code. In my code, I wrote a policy block.

Additionally, I recommended to a colleague to use it, however my colleague uses an IDE which notified him that this block is deprecated. Since I am using vim, I did not get the notice and had to hunt for it in the release notes.

It was deprecated nearly 2 years ago, in version 1.11.0, so I thought I could ask kindly if you could please put a deprecation notice on the docs page in order to make it more clear that we should use postgresql_grant instead of the policy block in the postgresql_schema block.

Thank you in advance