Log In - Home Page

Patch: Prefered Types

Edit Patch - Move To Another CommitFest - Delete Patch

CommitFest 2011-06
Topic SQL Types
Patch Status Returned with Feedback
Author Zotov <zotov@oe-it.ru>
Reviewers Nobody
Committer Nobody
Close Date 2011-06-06
Patch by bmomjian on 2011-04-26 05:40:51 PM: Initial version.
Review by rhaas on 2011-06-06 02:02:17 PM: Some concerns from Tom Lane.
Review by rhaas on 2011-06-06 02:02:57 PM: Some concerns from Alvaro Herrera.
Comment by gatt on 2011-06-13 06:00:33 PM: Please tell me, what must I do?
I see what you don`t know why. I can tell what i use this feature now, because i need call function without overloads use assign cast rules. First my step was using implicit casts... after it i have problems with too many implicit casts without priority and i try resolve this problem. that`s all.
The best will be calling single functions(without overloads) use assign cast rules. i don`t try to do this.
Using casts priority you will get more complicated system and no more, it will be more complicated than typeisprefered.
I can change some problems in patch, but i think problem not in patch, problem in heads... As long as you cant choose best way to resolve this problems class i can just wait... May be this problem class has no one solution, as you want think..?

After few days thinking...
1. Overload functions must marked as OVERLOAD (or for commpatibility for functions without overload like SINGLE)
2. Functions without overloading must use Assign cast rules
3. Overload functions can work like now (but more TRUEst solution will be type equal)

Add Comment

Please log in to comment on this patch.