Re: [HACKERS] Batches, error handling and transaction in the protocol

2016-10-18 Thread Shay Rojansky
> More generally speaking, the protocol appears to couple two different things which may be unrelated. On the one hand, we have a protocol > sync mechanism for error recovery (skip until Sync). One the other hand, we have an implicit transaction for extended query messages until > that same Sync.

[HACKERS] Batches, error handling and transaction in the protocol

2016-09-28 Thread Shay Rojansky
Hi everyone, I'd appreciate some guidance on an issue that's been raised with Npgsql, input from other driver writers would be especially helpful. Npgsql currently supports batching (or pipelining) to avoid roundtrips, and sends a Sync message only at the end of the batch (so