Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQOWU-00048A-LN for pgsql-sql@arkaria.postgresql.org; Wed, 19 Mar 2014 21:59:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WQOWU-0007S2-50 for pgsql-sql@arkaria.postgresql.org; Wed, 19 Mar 2014 21:59:42 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQOWT-0007Ro-3G for pgsql-sql@postgresql.org; Wed, 19 Mar 2014 21:59:41 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQOWQ-00042A-26 for pgsql-sql@postgresql.org; Wed, 19 Mar 2014 21:59:40 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WQOWO-0001kZ-Q4 for pgsql-sql@postgresql.org; Wed, 19 Mar 2014 14:59:36 -0700 Date: Wed, 19 Mar 2014 14:59:36 -0700 (PDT) From: AlexK To: pgsql-sql@postgresql.org Message-ID: <1395266376754-5796846.post@n5.nabble.com> Subject: Can I use a constraint to make sure all array elements are positive? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 3.5 (+++) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org One of the columns in my table is FLOAT[] NOT NULL. Can I use a constraint to make sure all array elements are positive? -- View this message in context: http://postgresql.1045698.n5.nabble.com/Can-I-use-a-constraint-to-make-sure-all-array-elements-are-positive-tp5796846.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql