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