Re: [SQL] trigger before delete question

2009-04-21 Thread Tom Lane
Sigrid Thijs writes: > I've bumped into a problem with a trigger before delete that I do not > immediately understand. I have made a simple example that also illustrates > the issue, but in reality the database structure is more complex. The reason it doesn't work is that the delete from member c

[SQL] trigger before delete question

2009-04-21 Thread Sigrid Thijs
Hello, I've bumped into a problem with a trigger before delete that I do not immediately understand. I have made a simple example that also illustrates the issue, but in reality the database structure is more complex. Here's the database scheme: create table club ( club_id serial n