A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
3 of 3 edited body; edited tags

PostgreSQL Change owner of all tables under a specific schema

I am trying to change the owner of all tables under the same schema in one command line. i.e: alter table schema_name.* owner to newowner. Is there a way to accomplish that?