# pg8.1.3 => CREATE DOMAIN d_1 integer CHECK (VALUE < 10); => CREATE TYPE t_1 AS (m d_1); => SELECT '(100)':: t_1; t_1 ------- (100) (1 row)
=> SELECT row(100):: t_1; 错误: 域 d_1 的值违反了检查约束 "d_1_check" => \encoding ISO_8859_1 => SELECT row(100):: t_1; server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly