Re: dunction issue - Mailing list pgsql-general

From Sam Mason
Subject Re: dunction issue
Date
Msg-id 20080328001948.GW6870@frubble.xen.chris-lamb.co.uk
Whole thread Raw
In response to Re: dunction issue  (Adrian Klaver <aklaver@comcast.net>)
Responses Re: dunction issue  ("Alain Roger" <raf.news@gmail.com>)
List pgsql-general
On Thu, Mar 27, 2008 at 03:34:49PM -0700, Adrian Klaver wrote:
> Or a simpler way to do handle my previous suggestion:
>
> IF (ret_email IS NULL ) OR (ret_email='')  THEN
>     RETURN ('-3')

That would be the sane fix, yes.

Based on the previous emails from the OP, he seems to be missing a
lot of the tools that databases' give you.  Transactions and unique
constraints being two significant ones.  Writing stored procedures to do
their work is just going to introduce unnecessary bugs and complication.


  Sam

pgsql-general by date:

Previous
From: brian
Date:
Subject: trouble selecting from array
Next
From: Tom Lane
Date:
Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)