On 2019-Mar-29, Tom Lane wrote:

> Christoph Berg <m...@debian.org> writes:
> > What might possibly make sense is to add options to psql to
> > facilitate common tasks:
> 
> > psql --createdb foo
> > psql --createuser bar --superuser
> > psql --reindex foo
> 
> That's a thought.  Or perhaps better, allow pg_ctl to grow new
> subcommands for those tasks?

+1, as I proposed in 2016:
https://www.postgresql.org/message-id/20160826202911.GA320593@alvherre.pgsql

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Reply via email to