Update with a better approach to pg gdb multiprocess