Hi Igor, thank you so much, the trigger function that you provided is exactly what I was looking for. I already read/heard about the SELECT INTO statement but I never actually understood what it is needed for. Here I go ;-) Stefan
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных