Re: Making psql error out on output failures

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Making psql error out on output failures
Дата
Msg-id 20200228160359.GA32501@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Making psql error out on output failures  (David Zhang <david.zhang@highgo.ca>)
Ответы Re: Making psql error out on output failures
Список pgsql-hackers
On 2020-Feb-18, David Zhang wrote:

> 3. I think a better way to resolve this issue will still be the solution
> with an extra %m, which can make the error message much more informative to
> the end users.

Yes, agreed.  However, we use a style like this:

        pg_log_error("could not print tuples: %m");

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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