Search Postgresql Archives

Re: Add a check an a array column

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



vdg <vdg.encelade@xxxxxxxxx> writes:
> Before posting, I had tried something like

> check ((ALL(i) >= 0) AND (ALL(i) <= 1024  )));

> but i got syntax errors.

Well, that's not the syntax.

> Could someone give me documentation hints on this behaviour ?

http://www.postgresql.org/docs/9.1/static/functions-subquery.html#FUNCTIONS-SUBQUERY-ALL
http://www.postgresql.org/docs/9.1/static/functions-comparisons.html#AEN17447

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux