By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1
| id | description | priv |
|---|---|---|
| 1 | description | priv |
SELECT 1
CREATE VIEW
ERROR: cannot drop column description of table test because other objects depend on it DETAIL: view v_test depends on column description of table test HINT: Use DROP ... CASCADE to drop the dependent objects too.
CREATE FUNCTION
DROP VIEW
CREATE VIEW
| id | description |
|---|---|
| 1 | description |
SELECT 1
ALTER TABLE
| id | description |
|---|---|
| 1 | 5237bbf5-f7e4-4de6-a8b9-3b91437312a5 |
SELECT 1
CREATE ROLE
GRANT
SET
| current_user |
|---|
| restricted_role |
SELECT 1
| id | description |
|---|---|
| 1 | 5237bbf5-f7e4-4de6-a8b9-3b91437312a5 |
SELECT 1
| id | description |
|---|---|
| 1 | 5237bbf5-f7e4-4de6-a8b9-3b91437312a5 |
SELECT 1
ERROR: permission denied for table test