HF RL Explorer

Task: PostgreSQL User Privileges Query

Task: PostgreSQL User Privileges Query: a task in Terminal-Lego-15k (Harbor dataset). You are a database administrator who needs to audit user permissions in a PostgreSQL database. Your task is to create a SQL script that queries the PostgreSQL data dictionary (system catalogs) to retrieve all…

The task

You are a database administrator who needs to audit user permissions in a PostgreSQL database. Your task is to create a SQL script that queries the PostgreSQL data dictionary (system catalogs) to retrieve all privileges granted to a specific user.

Part of PrimeIntellect/Terminal-Lego-15k.