Hi,

is it possible to create and process an outgoing TCP connection from within a custom background worker process?

Something like:

// upon worker startup, enter loop ..
conn = connectTCP("myhost");
while (data = conn.read()) {
   parse(data);
   // do SQL stuff via SPI and using "data", producing "res"
   conn.send(res);
}

Thanks!

Tobias


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to