pgbouncer - pgbouncer: console: fix string format in datarow packet

Поиск
Список
Период
Сортировка
От mkz@pgfoundry.org (User Mkz)
Тема pgbouncer - pgbouncer: console: fix string format in datarow packet
Дата
Msg-id 20090928094726.51E1E107152E@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
console: fix string format in datarow packet

pgbouncer used to store strings with final '\0', which should not be there.

It was not noticed thus far as any C clients did not saw anything wrong.

Takeover code depends on them being zero-terminated, use a hack to make them so.

Modified Files:
--------------
    pgbouncer/src:
        pktbuf.c (r1.7 -> r1.8)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/pktbuf.c?r1=1.7&r2=1.8)
        proto.c (r1.18 -> r1.19)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/proto.c?r1=1.18&r2=1.19)

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

Предыдущее
От: meskes@postgresql.org (Michael Meskes)
Дата:
Сообщение: pgsql: Added some explanation about how the parser is generated, taken
Следующее
От: adunstan@postgresql.org (Andrew Dunstan)
Дата:
Сообщение: pgsql: Convert a perl array to a postgres array when returned by Set