Dear all, I would like to insert a row into a table with serial type id as other table's reference key. After that insert, I would use the inserted serial to insert into another table. The problem is how can I find that serial value and ensuring other is inserting at the same time? Best regards, Boris