Re: Removing binaries (was: createlang/droplang deprecated)

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Removing binaries (was: createlang/droplang deprecated)
Date: 2017-03-19 12:44:53
Message-ID: 76ab666d-b515-e844-f0a9-37c1c8ff3dc9@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/18/2017 09:12 PM, Magnus Hagander wrote:
> createdb, dropdb - also not clear they're about postgres, more likely to
> be used by mistake but not that bad. That said, do they add any *value*
> beyond what you can do with psql -c "CREATE DATABASE"? I don't really
> see one, so I'd suggest dropping these too.

The value they add is that they quote the database name and options
correctly which makes them easier to use safely and reliably in shell
scripts. And unless I am missing something obvious I do not think there
is any easy way for a beginner to do this with just psql.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-03-19 13:12:23 Re: Logical decoding on standby
Previous Message Joshua D. Drake 2017-03-19 12:14:42 Re: Removing binaries (was: createlang/droplang deprecated)