Re: Running pg_upgrade Version 11

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Running pg_upgrade Version 11
Дата
Msg-id 5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com
обсуждение исходный текст
Ответ на Re: Running pg_upgrade Version 11  (rob stone <floriparob@gmail.com>)
Список pgsql-general
On 11/06/2018 06:30 PM, rob stone wrote:
>
> On Tue, 2018-11-06 at 15:17 +0900, Michael Paquier wrote:
>> On Tue, Nov 06, 2018 at 04:27:35PM +1100, rob stone wrote:
>>> Logged in as user postgres and postgres owns the files created by
>>> initdb, so is this a permissions problem or am I having a brain
>>> fade?
>> Having 0600 as umask for those files is normal.  Don't you have more
>> logs about the error?  You should not see this error, except if
>> data_v10
>> is not a data folder initialized correctly, so perhaps you messed up
>> something in your environment?
>> --
>> Michael
>
>
> Problem caused by my eyesight.
> A colleague pointed out the typo in the argument to the -d parameter.
> Working as intended.

That's why I like to line up my statements

/usr/lib/postgresql/11/bin/pg_upgrade \
     -b /usr/lib/postgresql/10/bin \
     -B /usr/lib/postgresql/11/bin \
     -d /home/postgres/testing/data_v10 \
     -D /home/postgres/testing/data_v11


-- 
Angular momentum makes the world go 'round.


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

Предыдущее
От: Elson Vaz
Дата:
Сообщение: Recovery data base!!
Следующее
От: pavan95
Дата:
Сообщение: Re: Recovery data base!!