pgsql: Add a pg_encoding_mbcliplen() function that is just like

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Add a pg_encoding_mbcliplen() function that is just like
Дата
Msg-id 20090104183736.381EC754A03@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Add a pg_encoding_mbcliplen() function that is just like pg_mbcliplen()
except the caller can specify the encoding to work in; this will be needed
for pg_stat_statements.  In passing, do some marginal efficiency hacking
and clean up some comments.  Also, prevent the single-byte-encoding code
path from fetching one byte past the stated length of the string (this
last is a bug that might need to be back-patched at some point).

Modified Files:
--------------
    pgsql/src/backend/utils/mb:
        mbutils.c (r1.75 -> r1.76)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.75&r2=1.76)
    pgsql/src/include/mb:
        pg_wchar.h (r1.81 -> r1.82)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/mb/pg_wchar.h?r1=1.81&r2=1.82)

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

Предыдущее
От: heikki@postgresql.org (Heikki Linnakangas)
Дата:
Сообщение: pgsql: Fix embarrassing bug in recent smgr refactoring patch: WAL
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: New Directory