postgres change ownership of table code example Example: postgres alter table owner ALTER TABLE <tablename> OWNER TO <username>