Re: check_recovery_target_lsn() does a PG_CATCH without a throw
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: check_recovery_target_lsn() does a PG_CATCH without a throw |
| Дата | |
| Msg-id | 0f1d0395-cfcd-5f4a-a5ff-38aa17cb63ac@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: check_recovery_target_lsn() does a PG_CATCH without a throw (Michael Paquier <michael@paquier.xyz>) |
| Список | pgsql-hackers |
On 2019-06-13 08:55, Michael Paquier wrote: > Speaking about pg_lsn. We have introduced it to reduce the amount of > duplication when mapping an LSN to text, so I am not much a fan of > this patch which adds again a duplication. You also lose some error > context as you get the same type of error when parsing the first or > the second part of the LSN. Couldn't you refactor the whole so as an > error string is present as in GUC_check_errdetail()? There isn't really much more detail to be had. pg_lsn_in() just reports "invalid input syntax for type pg_lsn", and with the current patch the GUC system would report something like 'invalid value for parameter "recovery_target_time"'. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера