Re: Exception handling from trigger - Mailing list pgsql-sql

From Vlad Dimitriu
Subject Re: Exception handling from trigger
Date
Msg-id 4117B8D8.6050904@base.ro
Whole thread Raw
In response to Re: Exception handling from trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql

I would design those columns as text
and enforce value length restrictions with triggers.

It's a false problem:  I define the data type for a field and
want to check his value after the exception that I can't fit
larger data into my field.

Thank you, Rod, Tom ....



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Suggestions on storing re-occurring calendar events
Next
From: David Stanaway
Date:
Subject: UPDATE FROM problem, multiple updates of same row don't seem to work