I have a remote table that I access over dblink.
The table has a primary field set to "autoincrement".
I need now to insert a record in that remote table and get back the new primary field (autoincrement sequence).
Since "bdlink_exec" can not give back rows I tried to use "dblink", but I can not figure out how to format that INSERT... RETURNING query?
Thanks,
P.