This is a discussion on Re: int4 to varchar length (pgadmin3) issue within the pgsql Novice forums, part of the PostgreSQL category; --> > this is an additional defined constraint, correct? Yes, it will add a constraint to your table that specifically ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > this is an additional defined constraint, correct? Yes, it will add a constraint to your table that specifically works on that particualar field. > is > this constraint added automagically by pgadmin when > you enter a length value or is this a different > method to achieve a similar result? I am not exactly sure what your question is, but the ALTER TABLE <...> is a Data Definition statement. Once the statement comments, then any future attempts by any connection to update/insert will blocked if the data doesn't meet the constraint criteria. Regards, Richard Broersma Jr. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |