Re: PostgreSQL pollutes the file system

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Euler Taveira <euler(at)timbira(dot)com(dot)br>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, Chris Travers <chris(dot)travers(at)adjust(dot)com>, Andreas Karlsson <andreas(at)proxel(dot)se>, "Fred (dot)Flintstone" <eldmannen(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL pollutes the file system
Date: 2019-03-20 18:08:32
Message-ID: 20190320180832.GA11614@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-pkg-debian

On 2019-Mar-20, Euler Taveira wrote:

> Em qua, 20 de mar de 2019 às 14:57, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> escreveu:
> >
> > We managed to get rid of createlang and droplang in v10, and there
> > hasn't been that much push-back about it. So maybe there could be
> > a move to remove createuser/dropuser? Or at least rename them to
> > pg_createuser and pg_dropuser. But I think this was discussed
> > (again) during the v10 cycle, and we couldn't agree to do more than
> > get rid of createlang/droplang.

Previous discussion:
https://postgr.es/m/CABUevExPrfPH5K5qM=zsT7tvfyACe+i5qjA6bfWCKKYrh8MJLw@mail.gmail.com

> Votes? +1 to remove createuser/dropuser (and also createdb/dropdb as I
> said in the other email). However, if we don't have sufficient votes,
> let's at least consider a 'pg_' prefix.

I vote to keep these rename these utilities to have a pg_ prefix and to
simultaneously install symlinks for their current names, so that nothing
breaks.

[In a couple of releases we could patch them so that they print a
deprecation warning to stderr if they're invoked without the prefix.]

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jehan-Guillaume de Rorthais 2019-03-20 18:10:25 Re: PostgreSQL pollutes the file system
Previous Message Euler Taveira 2019-03-20 18:02:56 Re: PostgreSQL pollutes the file system

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Jehan-Guillaume de Rorthais 2019-03-20 18:10:25 Re: PostgreSQL pollutes the file system
Previous Message Euler Taveira 2019-03-20 18:02:56 Re: PostgreSQL pollutes the file system