Re: dunction issue

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: dunction issue
Дата
Msg-id 20080328001948.GW6870@frubble.xen.chris-lamb.co.uk
обсуждение исходный текст
Ответ на Re: dunction issue  (Adrian Klaver <aklaver@comcast.net>)
Ответы Re: dunction issue  ("Alain Roger" <raf.news@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: brian
Дата:
Сообщение: trouble selecting from array
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Survey: renaming/removing script binaries (createdb, createuser...)