Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by Laurenz Albe for Unable to delete a referenced row due to a trigger...

All the cascading deletes and your trigger function are running inside the same database transaction, so if the transaction is aborted by an error you raise in the trigger function, all actions that...

View Article


Unable to delete a referenced row due to a trigger on a referencing table?

I ran into some problems in using triggers to ensure only deletions from cascading deletes:CREATE TYPE status_type AS enum ('A');CREATE TABLE parent( name VARCHAR(255) PRIMARY KEY);CREATE TABLE child(...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>