Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
If I make a query to a PostgreSQL database, I can see the related tables as a new column at the end of the regular columns. However, if I send this report to my collegue, she doesn't see those columns (the teble itself is visible, only the relationship columns are disappearing), and is unable to refresh. I experimented a bit, and discovered, that if a user with SELECT permission queries the database, the columns are not visible. With the owner of the database, those are visible. What permissions are needed for that functionality?
Edit 1:
It turns out the REFERENCES privilege is needed: https://www.postgresql.org/docs/current/sql-grant.html
REFERENCES
Allows creation of a foreign key constraint referencing the specified table, or specified column(s) of the table. (See the CREATE TABLE statement.)
Now my question would be what is executed, or why is that privilege need?
hi, @Anonymous
You may try to refer to this post:
Best Regards,
Lin
Hello @v-lili6-msft,
Thanks for taking the time, but I don't think this answers any of my questions.
Br,
Szabolcs
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |