Search Postgresql Archives

Re: Trigger function is not called

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill <pg@xxxxxxxxxx> writes:
> I removed the domain from the category_id and version columns leaving 
> the following table, trigger function and trigger. The trigger function 
> is still not called when I insert a new row. Any other ideas?

You're still expecting the trigger to get invoked before any constraints
are enforced (the NOT NULLs being the problem here, I think).  Again,
you can enforce things through a trigger or through a table constraint,
but mixing and matching won't work too well.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux