![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, i had written a stored procedure that works as trigger for upate and delete statements. The trigger raises an error if there is a not allowd change on the row, that's the normal way. But now I have a special stored procedure with must be update the value but the trigger needn't be called. Can I suppress on Postgres 8.3.5 for exactly one statement the trigger function? I need something like this "update table set field='not allowd values' where ... without run-update-trigger" I wouldn't use the disable / enable trigger work around, because it should be only in the user-session, that is currenty in use. Thats for help Phil |
#3
| |||
| |||
|
|
i had written a stored procedure that works as trigger for upate and delete statements. The trigger raises an error if there is a not allowd change on the row, that's the normal way. But now I have a special stored procedure with must be update the value but the trigger needn't be called. Can I suppress on Postgres 8.3.5 for exactly one statement the trigger function? I need something like this "update table set field='not allowd values' where ... without run-update-trigger" I wouldn't use the disable / enable trigger work around, because it should be only in the user-session, that is currenty in use. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |