Re: Proposal: new large object API - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposal: new large object API
Date
Msg-id 9155.1206024653@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposal: new large object API  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: Proposal: new large object API
List pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
>> Breaking the type_sanity test is not acceptable.  Put in a second C
>> function.

> Are you talking opr_sanity?

Sorry, yes, too little caffeine ...

> What is evil with a polymorphic function?

(1) It's creating a false match --- your proposed entry in the opr_sanity
results has nothing at all to do with what the test is looking for.

(2) Refactoring to have two separate C functions will make the code
clearer, and not noticeably longer.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] tsearch2 in postgresql 8.3.1 - invalid byte sequence for encoding "UTF8": 0xc3
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] [GENERAL] Empty arrays with ARRAY[]