Re: [HACKERS] createlang/droplang deprecated - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] createlang/droplang deprecated
Date
Msg-id 680.1489850956@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] createlang/droplang deprecated  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [HACKERS] createlang/droplang deprecated
Re: [HACKERS] createlang/droplang deprecated
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>> 2017-03-18 14:00 GMT+01:00 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>:
>>> I just noticed that createlang and droplang have been listed as
>>> deprecated since PG 9.1.
>>> Do we dare remove them?

> (I'd extend it to all the non-prefixed pg binaries, but let's open that can
> of worms right now, one thing at a time)

To my mind, these two and createuser/dropuser are the only really serious
namespacing problems among our standard binaries.  The ones with names
ending in "db" don't seem likely to cause huge confusion.  I suppose that
if we were naming it today, "psql" wouldn't get that name; but the chances
of renaming that one are certainly zero, namespace conflict or no.

But createuser/dropuser are a real problem, because they certainly could
be mistaken for system-level utilities.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] background sessions
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] New CORRESPONDING clause design