PostgreSQL – How to Find the Owner of a Table
To find the owner of a table in PostgreSQL, you can use the following SQL query: SELECT tablename, tableowner FROM pg_catalog.pg_tables WHERE schemaname = ‘my_schema’ AND tablename = ‘your_table_name’; where ‘my_schema’ is the name of the schema where your table resides, and ‘your_table_name’ is the name of the table you want to find the owner…