pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vlad Dimitriu <vlad.dimitriu@base.ro>
To: pgsql-sql@postgresql.org
Subject: Re: Exception handling from trigger
Date: Mon, 09 Aug 2004 20:48:08 +0300
Message-ID: <4117B8D8.6050904@base.ro> (raw)
In-Reply-To: <16661.1092071643@sss.pgh.pa.us>
References: <4117AA90.9080704@base.ro>
	<16661.1092071643@sss.pgh.pa.us>



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 ....




view thread (5+ messages)

Message-ID: <4117B8D8.6050904@base.ro>
Permalink:  ../4117B8D8.6050904@base.ro/
Also on:    postgresql.org/message-id/4117B8D8.6050904@base.ro

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: vlad.dimitriu@base.ro
  Subject: Re: Exception handling from trigger
  In-Reply-To: <4117B8D8.6050904@base.ro>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox