> Attached.
I haven't looked at the test yet.
+ * end of streaming.
+ */
+ if (conn->copyEnded)
+ {
+ conn->copyEnded = false;
+ *next_tli = 0;
+ return;
+ }
BTW, we can move *next_tli = 0; to the start of
libpqrcv_endstreaming() to save one extra assignment.
--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.