Re: [PATCHES] [HACKERS] Patch for psql.c - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] [HACKERS] Patch for psql.c
Date
Msg-id 6cbf71e7606952dca8210dafcf66a979
Whole thread Raw
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Destroying databases.
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 6.1 progress