Re: [SQL] rewriting values with before trigger

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] rewriting values with before trigger
Date: 2003-04-24 16:39:54
Message-ID: 200304240939.54070.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Robert,

> Is there anyway to do be able to change the '' into NULL before data
> validity is checked with a trigger?

What about using a RULE instead?

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-04-24 16:46:01 Re: rewriting values with before trigger
Previous Message Peter Eisentraut 2003-04-24 16:38:39 Re: default locale considered harmful? (was Re: Using

Browse pgsql-sql by date

  From Date Subject
Next Message Nigel J. Andrews 2003-04-24 16:46:01 Re: rewriting values with before trigger
Previous Message Robert Treat 2003-04-24 16:25:44 rewriting values with before trigger