Re: [PATCHES] [HACKERS] Patch for psql.c
Re: [PATCHES] [HACKERS] Patch for psql.c
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> > 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 ------------------------------