Postgres asynchronous procedure execution? I have an ETL script entirely contained within a Postgres 9.3 procedure.  The script takes several hours to process, which is fine for our purposes.

What I haven't been able to find out is if there is a method within postgres to call a procedure, and then let it run on the server even if the client making the original call becomes disconnected.
Unfortunately, PostgreSQL does not currently support having such an asynchronous call made to it, where the client is able to disconnect before the original call completes.  This has been discussed a number of times and there is ongoing work to implement a capability similar to this using a "pg_background" worker, but it's not in released versions of PG and it isn't clear when that will change.