Re: createlang/droplang deprecated

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: createlang/droplang deprecated
Date: 2017-03-18 20:06:46
Message-ID: CABUevEyjOmar2GdxPrkm1UA-jEdN2m3ie-GWvwi=Hh4SZrDaSA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 18, 2017 at 6:13 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Sat, Mar 18, 2017 at 11:29 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Magnus Hagander <magnus(at)hagander(dot)net> writes:
> >>> 2017-03-18 14:00 GMT+01:00 Peter Eisentraut <
> peter(dot)eisentraut(at)2ndquadrant(dot)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.
>
> Well, let's do one thing at a time. I think it'd be fine to drop
> createlang and droplang; we can discuss other things on other threads.
>

+1. I see no issues at all dropping createlang/droplang, so let's do that.
Some of the others can be worth discussing, so let's not wait for that to
pan out before these are removed.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Michálek 2017-03-18 20:10:02 Re: Other formats in pset like markdown, rst, mediawiki
Previous Message Robert Haas 2017-03-18 19:57:20 Re: PATCH: Configurable file mode mask