Re: Add pg_file_sync() to adminpack

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Add pg_file_sync() to adminpack
Дата
Msg-id CA+TgmobsFt0pfNCihaFJK9EE-hA+CHPiwmv9t9P_JbPAGhZnUA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add pg_file_sync() to adminpack  (Atsushi Torikoshi <atorik@gmail.com>)
Ответы Re: Add pg_file_sync() to adminpack
Список pgsql-hackers
On Tue, Jan 14, 2020 at 10:08 AM Atsushi Torikoshi <atorik@gmail.com> wrote:
> fails we can get error messages. So it seems straightforward for me to
>  'return true on success and emit an ERROR otherwise'.

I agree with reporting errors using ERROR, but it seems to me that we
ought to then make the function return 'void' rather than 'bool'.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: [PATCH v1] pg_ls_tmpdir to show directories
Следующее
От: Li Japin
Дата:
Сообщение: Code cleanup for build_regexp_split_result