RE: A recent message added to pg_upgade

Поиск
Список
Период
Сортировка
От Hayato Kuroda (Fujitsu)
Тема RE: A recent message added to pg_upgade
Дата
Msg-id TYAPR01MB58660A2306ADD9745C81E30FF5A1A@TYAPR01MB5866.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: A recent message added to pg_upgade  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
Dear Bharath,

> Will the check_hook approach work correctly?

I tested by using the first version and worked well (rejected). Please see the
log which recorded the output and log. Below lines were copied from server
log and found that max_slot_wal_keep_size must not be >= 0.

```
waiting for server to start....2023-10-30 08:53:32.529 GMT [6903] FATAL:  invalid value for parameter
"max_slot_wal_keep_size":1
 
 stopped waiting
pg_ctl: could not start serve
```

> I haven't checked that by
> myself, but I see InitializeGUCOptions() getting called before
> IsBinaryUpgrade is set to true and the passed-in config options ('c')
> are parsed.

I thought the key point was that user-defined options are aligned after the "-b".
User-defined options are set after the '-b'  option, so check_hook could work
as we expected. Thought?

Best Regards,
Hayato Kuroda
FUJITSU LIMITED


Вложения

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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: A recent message added to pg_upgade
Следующее
От: "Ryo Matsumura (Fujitsu)"
Дата:
Сообщение: RE: PATCH: document for regression test forgets libpq test