Re: [PATCHES] [HACKERS] Patch for psql.c

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] [HACKERS] Patch for psql.c
Дата
Msg-id 6cbf71e7606952dca8210dafcf66a979
обсуждение исходный текст
Список pgsql-hackers
>
> Yea..supposedly free'ing nulls is ok...but PQclear sends a nasty error
> message if a value sent to it is null...I would agree with you that it
> shouldn't be that big of a deal (unless to shut up Purify) to free
> nulls..In fact, we should probably patch PQclear to simply return
> if result passed to it is null...

I think the warning message of PQclear(NULL) was added recently and to a
lot of libpq, and I think PQclear(NULL) should not generate a message,
so the message should be removed.



- --
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------

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