pgsql: Rename utf2ucs() to utf8_to_unicode(), and export it so it can be

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Rename utf2ucs() to utf8_to_unicode(), and export it so it can be
Дата
Msg-id 20100818195401.D1B347541D7@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Rename utf2ucs() to utf8_to_unicode(), and export it so it can be used
elsewhere.

Similarly rename the version in mbprint.c, not because this affects anything
but just to keep the two copies in exact sync.  There was some discussion of
having only one copy in src/port/ instead, but this function is so small
and unlikely to change that that seems like overkill.

Slightly editorialized version of a patch by Joseph Adams.  (The bug-fix
aspect of his patch was applied separately, and back-patched.)

Modified Files:
--------------
    pgsql/src/backend/utils/mb:
        wchar.c (r1.74 -> r1.75)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/wchar.c?r1=1.74&r2=1.75)
    pgsql/src/bin/psql:
        mbprint.c (r1.39 -> r1.40)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/mbprint.c?r1=1.39&r2=1.40)
    pgsql/src/include/mb:
        pg_wchar.h (r1.94 -> r1.95)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/mb/pg_wchar.h?r1=1.94&r2=1.95)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix failure of "ALTER TABLE t ADD COLUMN c serial" when done by
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Reset the per-output-tuple exprcontext each time through the main