Re: idea to have driver return immediately after a query
От | Kevin Grittner |
---|---|
Тема | Re: idea to have driver return immediately after a query |
Дата | |
Msg-id | 4D908048020000250003BDBF@gw.wicourts.gov обсуждение исходный текст |
Ответ на | Re: idea to have driver return immediately after a query (Dave Cramer <pg@fastcrypt.com>) |
Список | pgsql-jdbc |
Dave Cramer <pg@fastcrypt.com> wrote: > The problem here is that you can execute as many statements as you > want on a connection, so having all of the statements block on the > first statement or reading all of the first statements data > doesn't solve the problem since you could run out of memory > reading the first statements' data. It doesn't solve it for all cases, but it would make the default behavior for many common usages more efficient. FWIW, it would match the behavior of the Sybase and MS SQL Server JDBC drivers, at least last I used them. As I said earlier in the thread, I think we may need a new protocol version to have a really nice implementation which completely solves the problem. People are talking about that anyway, for a variety of reasons, so we should make sure that if that effort moves forward the new protocol can gracefully handle this case along with solving the other problems people want to address. -Kevin
В списке pgsql-jdbc по дате отправления: