Could anyone please help me out here. I want to set the required permissions while creating PostGreSQL database, schema, and tables from stored procedures. Is it possible to do it while creating them?
I could see that "OWNER" option is there while creating database but couldn't see such option for schema or table. Please let me know if I missed out something.