2007/10/3, Dawid Kuroczko <qnex42(at)gmail(dot)com>:
> CREATE TABLE rx_check (> rx text CHECK ('' ~ rx IN ('t','f'))> );
wow. This is beautiful :)