Search Postgresql Archives

outgoing TCP from custom background worker?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux