将Postgres批量插入到2个表中,其中Table2需要Table1中的ID:带“;”的多插入不允许
我在StackExchange DB Administrators上发布了一个类似的主题,但也许这里还会有其他提示。
I need to Batch-Insert data into 2 tables, and Table2 has an FK ID from Table1, so I need to obtain the ID that was just inserted into Table1 for each Table2 row. This is with Postgres, from a Java...