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 1tfP7t-002BGO-8r for pgsql-general@arkaria.postgresql.org; Tue, 04 Feb 2025 20:02:30 +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 1tfP7s-007wev-D3 for pgsql-general@arkaria.postgresql.org; Tue, 04 Feb 2025 20:02:28 +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 1tfP7r-007wdu-FQ for pgsql-general@lists.postgresql.org; Tue, 04 Feb 2025 20:02:28 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tfP7n-003IJd-3C for pgsql-general@lists.postgresql.org; Tue, 04 Feb 2025 20:02:27 +0000 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id 317991140127; Tue, 4 Feb 2025 15:02:22 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Tue, 04 Feb 2025 15:02:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1738699342; x=1738785742; bh=s6p+thO04QyrQSczFql6TRBowThlZwCcuz3yCAwJQqE=; b= YI2vLWmAqqPeZzhGKvb8LtbrAm7iYTUzVE8sIQHILKdA4NIU1SPp/YkvqtsPZ0id rSE4WeOwhvdfDS9E6XCVgTQm054PV+9+gQacrRHRkq+3KFsCRHmD7gwt4xdM0rkH PfSGEJW3/ZHGU+qnve2d2R8RPnEgk+pEt1To/PF/Z0Jqal1eSmj0NgddQIMt1JI2 OZ/uz2PBsasXXyGoHm1cq9PbO6wJnrskW9lKHTPJCosD01Keq414/3UfvQwMjwhU ehhk6fs9XFFwPSEtUj5SJbGnrfYAFFwKjYFpVD73o4XEjud587WpTEVOF7CiHt1a S3wDj8+EEF+i5xY3tbEgjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1738699342; x=1738785742; bh=s 6p+thO04QyrQSczFql6TRBowThlZwCcuz3yCAwJQqE=; b=TEeBuTJFIKjABEZ/t qBwqp2jNxyivAEegEdzWks266eRx6+2Q2cI341e4KsQkYKZHYW6X/0M8aEpate4N RViz15zqK8bAeFmRFtFw7GnM+QNbvInyo36IvjRISu/0vYsbv+6uufJyuyJu2XPS OxcXjqtr4c9WfGiYPRvqZ80s+VbgKhjdEAC2L7zjMARrK+Y8vRXVIkHxcx5ztnSN beA71Xb0UMyYoYXFs0Pu3DHQLqRzBe2z1NA5p1qNqRAePqI6LyDnYPi9bo3k+Av7 bSxu5NGqOVF/zeRvY789gvCQ1PscdVZ1XuPj4OJGk4KOc0DVOb8gNA4NVJsRmI2K yz+YQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepffelgeeifefgveduhedt hfekuedtffejveegffegjeevtdehgfduieetfeehjeehnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohephhgrrhhtmhgrnheitdhhohhmvgesghhmrghilhdrtghomhdprhgtphht thhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdroh hrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Feb 2025 15:02:20 -0500 (EST) Message-ID: Date: Tue, 4 Feb 2025 12:02:19 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Table copy To: Andy Hartman , "pgsql-generallists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/4/25 11:51 AM, Andy Hartman wrote: > I'm copying a large table from mssql to PG using SImplysql and in the > Log I see this message > > 2025-02-04 14:42:17.975 EST [4796] ERROR:  unexpected EOF on client > connection with an open transaction The above pretty much spells it out. Something messed with the connection from the client. You need to look at Postgres and system logs to see if you can track down what? FYI, more information would be helpful: 1) MS SQL version. 2) Postgres version. 3) SimplySQL version. 4) The complete copy command. 5) The amount of data being transferred. 6) The OS'es and their versions on both ends. > 2025-02-04 14:42:17.975 EST [4796] CONTEXT:  COPY sqlt_data_1_2022_03, > line 208274199, column tagid > 2025-02-04 14:42:17.975 EST [4796] STATEMENT:  COPY sqlt_data_1_2022_03 > (tagid, intvalue, floatvalue, stringvalue, datevalue, dataintegrity, > t_stamp) FROM STDIN (FORMAT BINARY) > 2025-02-04 14:42:18.158 EST [4796] FATAL:  terminating connection > because protocol synchronization was lost > 2025-02-04 14:42:18.265 EST [4796] LOG:  could not send data to client: > An established connection was aborted by the software in your host machine. > it then dies with a data stream error.I have copied other tables on this > size with no problems. > >  THanks. > > -- Adrian Klaver adrian.klaver@aklaver.com