Re: pgsql: Fix pg_dump assertion failure when dumping pg_catalog.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Fix pg_dump assertion failure when dumping pg_catalog.
Дата
Msg-id e8bcb3f8-73b8-4761-22df-899cb5f429b1@eisentraut.org
обсуждение исходный текст
Ответ на pgsql: Fix pg_dump assertion failure when dumping pg_catalog.  (Jeff Davis <jdavis@postgresql.org>)
Список pgsql-committers
On 22.08.23 22:08, Jeff Davis wrote:
> Fix pg_dump assertion failure when dumping pg_catalog.
> 
> Commit 396d348b04 did not account for the default collation.
> 
> Also, use pg_log_warning() instead of Assert().

Looking at this:

     pg_log_warning("invalid collation \"%s\"", qcollname);

qcollname is already a quoted identifier, so this message would be 
doubly quoted.  Maybe you should use collinfo->dobj.name in the messages.

Also, for

     pg_fatal("unrecognized collation provider '%c'", collprovider[0]);

use double quotes.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Add more ICU rules examples
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: doc: Replace list of drivers and PLs with wiki link