Обсуждение: pgsql: Adjust mbutils.c so it won't get broken by future pgindent runs.

Поиск
Список
Период
Сортировка

pgsql: Adjust mbutils.c so it won't get broken by future pgindent runs.

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Adjust mbutils.c so it won't get broken by future pgindent runs.
To do that, replace L'\0' by (WCHAR) 0.  Perhaps someday we should teach
pgindent about wide-character literals, but so long as this is the only
use-case in the entire Postgres sources, a workaround seems easier.

Modified Files:
--------------
    pgsql/src/backend/utils/mb:
        mbutils.c (r1.97 -> r1.98)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.97&r2=1.98)