[GENERAL] DEFERRABLE NOT NULL constraint

Chris Angelico rosuav at gmail.com
Tue Feb 5 14:33:38 CET 2013


On Wed, Feb 6, 2013 at 12:31 AM, Bèrto ëd Sèra <berto.d.sera at 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.

Not sure how that prevents a stored procedure from doing an INSERT?

ChrisA



More information about the Python-list mailing list