Re: Prefered Types

Zotov <zotov@oe-it.ru>

From: Zotov <zotov@oe-it.ru>
To: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-03-14T15:15:59Z
Lists: pgsql-hackers

Attachments

11.03.2011 17:01, Robert Haas пишет:
> Interestingly, I've also had the thought that it might make sense to
> change typispreferred to an integer typpreference.  But I'm not sure
> we actually have any consensus on that point, and it probably wouldn't
> happen until 9.2 at the earliest, so you're probably best off finding
> some other way to attack the problem.  It's not going to help with
> text vs. integer/float/numeric anyway, I think, because they have
> different typcategory values.  The whole typcategory system seems a
> little wonky to me, actually...
>
I try to do this feature myself, and now it work, as i can test (not so)
i attach patch for "master" to do this, maybe you see it?


-- 
С уважением,
Зотов Роман Владимирович
руководитель Отдела разработки
ЗАО "НПО Консультант"
г.Иваново, ул. Палехская, д. 10
тел./факс: (4932) 41-01-21
mailto: zotov@oe-it.ru