Confusing error message in 15.6

Поиск
Список
Период
Сортировка
От Dmitry O Litvintsev
Тема Confusing error message in 15.6
Дата
Msg-id SA1PR09MB731160449C3C97197555F1F3B9EA2@SA1PR09MB7311.namprd09.prod.outlook.com
обсуждение исходный текст
Ответы Re: Confusing error message in 15.6
Список pgsql-general
Hi,

I am observing the following error which confuses me:

#  psql -U postgres template1 -c "checkpoint; select pg_backup_start('${dest}.tar.Z', true)"
CHECKPOINT
 pg_backup_start
-----------------
 17BF7/3009498
(1 row)

#  psql -U postgres template1 -c "select pg_backup_stop(true)"
ERROR:  backup is not in progress
HINT:  Did you call pg_backup_start()?

This is postgresql 15.6 running on RH 7.

This is not just amusing, it is breaking my backup script after update from 11 to 15 (and change from
pg_{start,stop}_backupto pg_backup_{start_stop}) 

Thanks,
Dmitry


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Restore of a reference database kills the auto analyze processing.
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Confusing error message in 15.6