Re: DEFERRABLE NOT NULL constraint

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: DEFERRABLE NOT NULL constraint
Дата
Msg-id kesob0$ji5$2@gonzo.reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на Re: DEFERRABLE NOT NULL constraint  (Alban Hertroys <haramrae@gmail.com>)
Ответы Re: DEFERRABLE NOT NULL constraint  (Bèrto ëd Sèra <berto.d.sera@gmail.com>)
Список pgsql-general
On 2013-02-05, Bèrto ëd Sèra <berto.d.sera@gmail.com> wrote:
> Hi Chris,
>
>> Why do that as a trigger, then? Why not simply call a procedure that
>> generates the value and inserts it?
>
> Because this must be unknown to whoever makes the call and I'm not
> supposed to expose any detail of what's going on behind the scenes.
> Outsourcing part of sensitive apps also means that you do not want all
> of the outside devs to know all that company X is doing, and how it is
> doing it, sometimes.
>
> Cheers
> Bèrto

You've hidden nothing from INSERT-RETURNING.



--
⚂⚃ 100% natural

В списке pgsql-general по дате отправления:

Предыдущее
От: Ben Madin
Дата:
Сообщение: Re: ERROR: invalid input syntax for integer: ""
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: ERROR: invalid input syntax for integer: ""