change owner of table to some other user + postgresql code example Example: postgres alter table owner ALTER TABLE <tablename> OWNER TO <username>