pgsql: Minor perf tweak for _SPI_strdup(): if we're going to call

Поиск
Список
Период
Сортировка
От neilc@postgresql.org (Neil Conway)
Тема pgsql: Minor perf tweak for _SPI_strdup(): if we're going to call
Дата
Msg-id 20080112103832.F289B754108@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Minor perf tweak for _SPI_strdup(): if we're going to call strlen()
anyway, it is faster to memcpy() than to strcpy().

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.64 -> r1.65)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.64&r2=1.65)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix logical errors in constraint exclusion: we cannot assume that
Следующее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Fix two places in xml.c that neglected to check the return values