Search Postgresql Archives

Re: What happens if I create new threads from within a postgresql function?

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

 



On Mon, Feb 18, 2013 at 1:59 PM, Seref Arikan
<serefarikan@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi Merlin,
> My plan is exactly what you've suggested, sending bytea to an external
> server. The networking library I'm using uses threads, and this is where I
> am creating threads.

Well, TBH, I find that odd.  I know some network libraries use threads
instead of a more asynchronous model.  I can't speak to the
particulars because I don't have them, but my gut is the path you're
going on is fraught with danger.  ISTM you're better off doing socket
connection through standard socket calls.

merlin


-- 
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