Re: What is the accepted practice to automate initdb (PostgreSQL 9.6)to a non-default directory?

Поиск
Список
Период
Сортировка
От Mike Lonergan
Тема Re: What is the accepted practice to automate initdb (PostgreSQL 9.6)to a non-default directory?
Дата
Msg-id CAEzHCEOvAWgyz_kLF6xrL0Wd7iYvMRDw+B8kQYzm4HnXutrMPg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: What is the accepted practice to automate initdb (PostgreSQL 9.6)to a non-default directory?  (Mike Lonergan <mikethecanuck@gmail.com>)
Список pgsql-admin
For reference by any future novices who might stumble across this thread (and for the morbid curiosity of anyone on the list), here's the shell script I've generated to solve this challenge in an AWS EC2 environment:

On 2 March 2018 at 16:18, Mike Lonergan <mikethecanuck@gmail.com> wrote:
David, thank you as well - that article is fantastic.  I'll give this a whirl, but on its face it looks like exactly the solution we're after.  That approach to embedded the env var for the service is new to me - addresses a complete blank in my knowledge.

Thanks!
Mike

On 2 March 2018 at 16:13, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Fri, Mar 2, 2018 at 5:03 PM, Mike Lonergan <mikethecanuck@gmail.com> wrote:

I'll definitely look into the launch script, see what I can do there.  Any other thoughts folks have would be more than welcome.
 
​This recent Planet PostgreSQL link​ seems worth a read.


David J.



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Reliable WAL file shipping over unreliable network
Следующее
От: Rui DeSousa
Дата:
Сообщение: Re: Reliable WAL file shipping over unreliable network