From: | "Alain Roger" <raf(dot)news(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: dunction issue |
Date: | 2008-03-28 07:19:38 |
Message-ID: | 75645bbb0803280019s7a4d9139gbf11ce28aadf9f54@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I do not agree with you Sam.
Stored procedure are safe from hacking (from external access).
>From my point of view transitions should be used only as internal purpose or
via intrAnet and not thru intErnet.
at list this is how under MS SQL they use to teach.
regarding unique constraint, i already setup it. :-)
unique violation will not help me in this case, or only to know if the email
is stored several time.... which i do not test...directly :-)
Al.
On Fri, Mar 28, 2008 at 1:19 AM, Sam Mason <sam(at)samason(dot)me(dot)uk> wrote:
> 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
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2008-03-28 07:30:00 | Re: Using tables in other PostGreSQL database |
Previous Message | ajcity | 2008-03-28 06:59:45 | Re: Need help on how to backup a table |