Re: [HACKERS] createlang/droplang deprecated

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: [HACKERS] createlang/droplang deprecated
Дата
Msg-id CAHE3wgjB94dgLZHCSrf9Ko1QzTq6fM24Q0wsgNjDKu63w3Ga9w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] createlang/droplang deprecated  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

2017-03-18 12:29 GMT-03:00 Tom Lane <tgl@sss.pgh.pa.us>:

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

I proposed something along those lines [1] to fix this historical mistake but we didn't reach a consensus. createuser/dropuser could be a candidate to removal because it is easily replaced by psql -c "command here" like Simon said. If we go to this road, other binaries (that are just a wrapper around an SQL command) could be removed too (such as createdb, dropdb, clusterdb and reindexdb).


[1] https://www.postgresql.org/message-id/bdd1adb1-c26d-ad1f-2f15-cc52056065d4@timbira.com.br


--
   Euler Taveira                                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Banck
Дата:
Сообщение: Re: [HACKERS] Logical replication existing data copy
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: [HACKERS] Logical replication existing data copy