Can I use a constraint to make sure all array elements are positive?

From: AlexK <alkuzo(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Can I use a constraint to make sure all array elements are positive?
Date: 2014-03-19 21:59:36
Message-ID: 1395266376754-5796846.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Vik Fearing 2014-03-19 22:08:19 Re: Can I use a constraint to make sure all array elements are positive?
Previous Message hari.fuchs 2014-03-19 17:56:58 Re: Table results format - should I use crosstab? If so, how?