I have been reading through all the threads and trying a few different things. Essentially, I have a function that loops through a table and then performs some updates/inserts against other tables based on the row from the FOR LOOP.
Currently, none of these inserts/updates are visible to other users until the LOOP and function are complete (i.e. the end of the function is the commit).
However, I would like to make these insert/updates visible as soon as a row in the for loop is complete. Is this possible? or is this the problem of a nested transaction?
I am about to try dblink. Is there anyway to accomplish this?