Hi With pg_background extension ,it is possible to make "autonomous transaction" which means possibility to commit in a transaction. It is like a client which connects to a postgresql instance. So you can execute any sql orders .
Yes, that's possible. It's not easy though and I strongly suggest you look into existing approaches like using dblink instead.
Please start a new thread rather than following an unrelated existing one.