X-Original-To: pgsql-general@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id F1D1B4763B6; Thu, 24 Apr 2003 12:40:47 -0400 (EDT) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by postgresql.org (Postfix) with ESMTP id B404B4763A8; Thu, 24 Apr 2003 12:40:44 -0400 (EDT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 2984684; Thu, 24 Apr 2003 09:40:47 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: Robert Treat , "pgsql-general@postgresql.org" , pgsql-sql@postgresql.org Subject: Re: [SQL] rewriting values with before trigger Date: Thu, 24 Apr 2003 09:39:54 -0700 User-Agent: KMail/1.4.3 References: <1051201544.4753.522.camel@camel> In-Reply-To: <1051201544.4753.522.camel@camel> MIME-Version: 1.0 Message-Id: <200304240939.54070.josh@agliodbs.com> Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-32.4 required=5.0 tests=BAYES_01,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/1246 X-Sequence-Number: 41311 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? --=20 Josh Berkus Aglio Database Solutions San Francisco