python - be: Use snprintf instead of asprintf.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - be: Use snprintf instead of asprintf.
Дата
Msg-id 20060215044713.B46DE103384E@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Use snprintf instead of asprintf.

snprintf is likely to be more portable than asprintf, and the string is actually
simple enough that calculating the resulting size is trivial. Also, it can then
print right to the palloc'd memory instead of pstrdup'ing, saving a malloc/free.

Modified Files:
--------------
    be/src:
        pl.c (r1.33 -> r1.34)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.33&r2=1.34)

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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: pgsql: Add psql option: -1 or --single-transaction
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - be: Add and use interface to deleting function cache entries.