I've got a couple of free days coming up, so I want to finish domain
support (Check constraints).

Is it safe to teach Var how to deal with values that do not originate
from a tuple?  Or should I create a new primnode to deal with these
types of variables.


CREATE DOMAIN dom AS integer CHECK(VALUE BETWEEN 6 AND 10);

SELECT CAST(8 AS dom);



-- 
  Rod Taylor


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to