From: | Zotov <zotov(at)oe-it(dot)ru> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Prefered Types |
Date: | 2011-03-10 13:12:29 |
Message-ID: | 4D78CE3D.4090709@oe-it.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello, i have an old system where used implicit casting
float<->integer
numeric<->float
numeric<->integer
I want define implicit casts, but postgresql don`t know cast priority
now postgresql have PREFERRED flag, but only flag
I can`t define prefer level like
Integer=0
Numeric=1
Float=2
Maybe
text = 2 or 3
and other to define My prefer cast more detail than just flag
i understand what it more dificult tuning, but more flexible
now i can only create duplicate operators like
numeric+integer, integer+numeric, integer>numeric.... and many other
What can i do? Can i wait for prefer flag changed to prefer level?
--
С уважением,
Зотов Роман Владимирович
руководитель Отдела разработки
ЗАО "НПО Консультант"
г.Иваново, ул. Палехская, д. 10
тел./факс: (4932) 41-01-21
mailto: zotov(at)oe-it(dot)ru
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-03-10 13:45:22 | Re: Fwd: index corruption in PG 8.3.13 |
Previous Message | hans wulf | 2011-03-10 12:31:03 | Read uncommitted ever possible? |