On 3/29/19 11:41 AM, Tom Lane wrote:
> Christoph Berg <myon@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?
>
>
I think that's a better direction. psql is already pretty cumbersome.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services