pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
asynchronous execution 3+ messages / 2 participants [nested] [flat]
* asynchronous execution @ 2005-11-22 10:04 Tomas Skäre <tomas@nocrew.org> 0 siblings, 0 replies; 3+ messages in thread From: tomas@nocrew.org @ 2005-11-22 10:04 UTC (permalink / raw) To: pgsql-odbc Hi, Are there any work done, or plans for implementing asynchronous execution in psqlodbc? Does anyone have an idea if this is difficult to implement? Does libpq support asynchronous calls? Greetings, Tomas ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: asynchronous execution @ 2005-11-22 21:37 Merlin Moncure <merlin.moncure@rcsonline.com> 0 siblings, 1 reply; 3+ messages in thread From: Merlin Moncure @ 2005-11-22 21:37 UTC (permalink / raw) To: Tomas Skäre <tomas@nocrew.org>; +Cc: pgsql-odbc > Are there any work done, or plans for implementing asynchronous > execution in psqlodbc? Not sure about future plans, but there is nothing stopping you from opening thread in your app and running odbc call that way. > Does anyone have an idea if this is difficult to implement? defer to experts. > Does libpq support asynchronous calls? yes: http://www.postgresql.org/docs/8.1/interactive/libpq-async.html If you have deep requirements and/or are extremely speed concerned (and are not concerned about portability), you may want to make direct use of liqpq api. Merlin ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: asynchronous execution @ 2005-11-23 07:54 Tomas Skäre <tomas@nocrew.org> parent: Merlin Moncure <merlin.moncure@rcsonline.com> 0 siblings, 0 replies; 3+ messages in thread From: tomas@nocrew.org @ 2005-11-23 07:54 UTC (permalink / raw) To: Merlin Moncure <merlin.moncure@rcsonline.com>; +Cc: pgsql-odbc "Merlin Moncure" <merlin.moncure@rcsonline.com> writes: >> Are there any work done, or plans for implementing asynchronous >> execution in psqlodbc? > > Not sure about future plans, but there is nothing stopping you from > opening thread in your app and running odbc call that way. It's not that easy, because the application is using libraries that are not threadsafe, and I thought it would be best to use ODBC async functionality, if it's available. Separating just the ODBC calls in another thread would be too much trouble. >> Does libpq support asynchronous calls? > > yes: > http://www.postgresql.org/docs/8.1/interactive/libpq-async.html > > If you have deep requirements and/or are extremely speed concerned > (and are not concerned about portability), you may want to make direct > use of liqpq api. That's also not an option, since we'd like to have the possibility of choosing another DBMS. Oh well, I'll live with blocking functions right now, and if we really need it, I guess I'll have to try to implement it into psqlodbc. Tomas ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-11-23 07:54 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2005-11-22 10:04 asynchronous execution Tomas Skäre <tomas@nocrew.org> 2005-11-22 21:37 Re: asynchronous execution Merlin Moncure <merlin.moncure@rcsonline.com> 2005-11-23 07:54 ` Tomas Skäre <tomas@nocrew.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox