Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tfmaQ-0051S2-TC for pgsql-general@arkaria.postgresql.org; Wed, 05 Feb 2025 21:05:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tfmaP-0013n5-Am for pgsql-general@arkaria.postgresql.org; Wed, 05 Feb 2025 21:05:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tfmaO-0013mx-Vv for pgsql-general@lists.postgresql.org; Wed, 05 Feb 2025 21:05:28 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tfmaM-003bfa-1W for pgsql-general@lists.postgresql.org; Wed, 05 Feb 2025 21:05:28 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-6f6715734d9so2221137b3.3 for ; Wed, 05 Feb 2025 13:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738789525; x=1739394325; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jRghE+EPS7aHRRh9PCIEviBhJQLKKDKXcwlQ2HZoydw=; b=N2NIbucAp4lsim2ciTnjqX9U/+cgVMRWc6GAyDywxgzo2+ocBVdW56ihq3GnF8pxZE rWa/R8D/U9y9823WMuXG0BD3+fldvdTInH6GPdQOJCVswvexrVjpfPGpMARd+4jX3YXx pDWoXg7cNkMyekDO3VPXc7sZUWdz+DTTAP2gcdgdP0lU3M4yNVojHFEwMqimA+G8QlOk WIFjWWQ+zBjMy1ElruKLskyS+aIACXIRuQYBFFM4Moun4oJ59yh5NL42zcbTUCRuVC/m 4wVaV//kaV+JAr3OH1vGbgPYteoLGkbz1UPl1C2ldQCx9gUibldgHCUA78BoDPjjYZM1 FczQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738789525; x=1739394325; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jRghE+EPS7aHRRh9PCIEviBhJQLKKDKXcwlQ2HZoydw=; b=l68oz3yNQIFlbJxgbfLQ9zDi0ExlD5xNd1Wfa1dyEwGNPIBh8osPNia7gJzfEPu6BO vbkotZr2qVCOeFLSMEBeno+4psiU7D5zH+PlxFKs1xkJl9iCO5OrezFwLalCaTB4Vf8y fqkvXFQ5vavnKJr+vKbGa3qUXJ7m0JmSsCIENZgErULZmoCQeZPliePjlTt4nNcDVU/W NkkTJG1+3Bks8p5kVdXkEXmVYhclkzShDWBCZ4Vpn+jppc3ZvEJUz7wRPhGh9egx5itU gOTtfGn5Q5k9jZeRLaG9Ii1fDAayIIG5AfcFw8sNkRaKVINiGA+V2O3ur+IR6LpIivi2 Ydzw== X-Gm-Message-State: AOJu0YzD3dSMfTS3U3gmZShwIbfhr7jREGJC+QjCoLCQGdxgy8hStwyp 7ppog/b1KtabosIo+ghEO4YW6W0fTfYLcxySOSCLWDZt+S1SrC1hEFAHvfRm89O3gYLWzyCi1V4 SfL3rdEXzeH1R6nEDw8Y1+qPypZjfYjLn X-Gm-Gg: ASbGncvnJrOFqKGzBTsia++Q+CW8F3QdR6TiWlC7K8zAinvZAzy8XwCKLlxWhKBLqd0 Doo380uiEzynCYut7sKcGdTutcYOb/6H7BZjaAf6t07BjHJEgbCNNF5mW6jVsSXQ4PrpP5zo= X-Google-Smtp-Source: AGHT+IFJYwq23YPbTcCwbZKKQJTCkA5I+qh0WQBuj2Q4ARTjjQkoqtExubGE0+9qrnJgmdPrhG20uDX25a62y3qRhzc= X-Received: by 2002:a05:690c:7407:b0:6f7:567a:4576 with SMTP id 00721157ae682-6f989e3a0c0mr46980727b3.2.1738789524985; Wed, 05 Feb 2025 13:05:24 -0800 (PST) MIME-Version: 1.0 References: <0057c073-6dcb-4425-92fc-3a766a78ee96@aklaver.com> In-Reply-To: From: Andy Hartman Date: Wed, 5 Feb 2025 16:05:13 -0500 X-Gm-Features: AWEUYZlPwe5EJwwqba87DZQ_8uHHy6mlmIuKnUxo6QbacKnRz-8MP-hD2L4oyVw Message-ID: Subject: Re: Table copy To: Adrian Klaver Cc: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000f9dba7062d6b7b24" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000f9dba7062d6b7b24 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable nothing in log from mssql side and no anti-virus On Wed, Feb 5, 2025 at 2:06=E2=80=AFPM Adrian Klaver wrote: > > > On 2/5/25 9:46 AM, Andy Hartman wrote: > > [6992] ERROR: unexpected EOF on client connection with an open > transaction > > 2025-02-05 12:19:44.919 EST [6992] CONTEXT: COPY sqlt_data_1_2022_03, > > line 24431524, column dataintegrity > > 2025-02-05 12:19:44.919 EST [6992] STATEMENT: COPY sqlt_data_1_2022_03 > > (tagid, intvalue, floatvalue, stringvalue, datevalue, dataintegrity, > > t_stamp) FROM STDIN (FORMAT BINARY) > > 2025-02-05 12:19:44.919 EST [6992] FATAL: terminating connection > > because protocol synchronization was lost > > You need to look at the other end of the connection also, in other words > what is happening on the MS SQL Server 2016/Windows Server 2019 side? > > Also is there anti-virus software running on either end? > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > --000000000000f9dba7062d6b7b24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
nothing in log from mssql side and no=C2= =A0=C2=A0anti-virus=C2=A0

On Wed, Feb 5, 2025 at= 2:06=E2=80=AFPM Adrian Klaver <adrian.klaver@aklaver.com> wrote:


On 2/5/25 9:46 AM, Andy Hartman wrote:
> [6992] ERROR:=C2=A0 unexpected EOF on client connection with an open t= ransaction
> 2025-02-05 12:19:44.919 EST [6992] CONTEXT:=C2=A0 COPY sqlt_data_1_202= 2_03,
> line 24431524, column dataintegrity
> 2025-02-05 12:19:44.919 EST [6992] STATEMENT:=C2=A0 COPY sqlt_data_1_2= 022_03
> (tagid, intvalue, floatvalue, stringvalue, datevalue, dataintegrity, <= br> > t_stamp) FROM STDIN (FORMAT BINARY)
> 2025-02-05 12:19:44.919 EST [6992] FATAL:=C2=A0 terminating connection=
> because protocol synchronization was lost

You need to look at the other end of the connection also, in other words what is happening on the MS SQL Server 2016/Windows Server 2019 side?

Also is there anti-virus software running on either end?



--
Adrian Klaver
adrian.klave= r@aklaver.com
--000000000000f9dba7062d6b7b24--