Search Postgresql Archives

Re: CHECK

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

 



--- scuffio <simone.dicola@xxxxxxxxx> wrote:

> I would want to know as I make to control that the length of the field
> character insert is of one sure dimension

A check constraint can certainly do this.  If you want to generalize it, you can roll you check
constraint into a domain (user defined column type).
http://www.postgresql.org/docs/8.2/interactive/ddl-constraints.html
http://www.postgresql.org/docs/8.2/interactive/sql-createdomain.html

Regards,
Richard Broersma Jr.



[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