Re: PostgreSQL pollutes the file system
От | Daniel Verite |
---|---|
Тема | Re: PostgreSQL pollutes the file system |
Дата | |
Msg-id | 9d0bf238-255d-4ccb-8ffb-a9fc2083cbe8@manitou-mail.org обсуждение исходный текст |
Ответ на | Re: PostgreSQL pollutes the file system (Andreas Karlsson <andreas@proxel.se>) |
Список | pgsql-hackers |
Andreas Karlsson wrote: > The Debian packagers already use pg_createcluster for their script which > wraps initdb, and while pg_initdb is a bit misleading (it creates a > cluster rather than a database) it is not that bad. But that renaming wouldn't achieve anything in relation to the stated goal, since initdb is not in the $PATH in Debian/Ubuntu systems. It's part of the version-specific binaries located in /usr/lib/postgresql/$VERSION/bin, which are not meant to be called directly, but by the pg_*cluster* scripts that you mention, or pg_wrapper. Moreover, aside from package-specific issues, initdb can already be invoked through "pg_ctl initdb" since 2010 and version 9.0, as mentioned in: https://www.postgresql.org/docs/9.0/app-initdb.html This evolution was the result of discussions pretty much like the present thread. 9 years later, who bothers to use or recommend the new form? AFAICS nobody cares. Best regards, -- Daniel Vérité PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite
В списке pgsql-hackers по дате отправления: