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 1tpqa9-00D8hW-Be for pgsql-general@arkaria.postgresql.org; Wed, 05 Mar 2025 15:22:49 +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 1tpqa7-00DtwK-Pg for pgsql-general@arkaria.postgresql.org; Wed, 05 Mar 2025 15:22:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpqa7-00Dtuk-3G for pgsql-general@lists.postgresql.org; Wed, 05 Mar 2025 15:22:47 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tpqa4-0017sb-2D for pgsql-general@lists.postgresql.org; Wed, 05 Mar 2025 15:22:46 +0000 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2fe8c35b6cbso11161589a91.3 for ; Wed, 05 Mar 2025 07:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mokadb-com.20230601.gappssmtp.com; s=20230601; t=1741188163; x=1741792963; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=rQBfyddFszvUtsdN/3nHsdd8h5okwwj8uM826rfWVok=; b=G2XzHwIrYY34GZNnBzd8ukucpiknf7W8NKP4mxlQUKrbYL277x0neK0zwUG1Emq6nq lFwM1UCeXCTtRU6Q1lD8hma8vFscs5OCxfVxeCydReRneWcq/R7DHMEIyG+Q8vI29sgj 44vmZblckKazsWdkNzGASPaZJZxFYvgXfCkGy08uWMPAAaghHstmZeIageiDPL158KHY JTdpa6gmBwtdA8LYHevq2uDkmm81Q/w5fqjzMHp0ur3D9rcFTclxuNuMDGvqWQQ9DN77 GN8eobwpM2VzwwqhgFPIhXqt0Woo0cj+75YWk+eAov7KGnyGh7K0/6yM6BbPTH/RfC3e PvlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741188163; x=1741792963; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rQBfyddFszvUtsdN/3nHsdd8h5okwwj8uM826rfWVok=; b=SmtkQmPVTlqZolJ60OwPVirBttcQvwL5dWEB1LR2MWTI9kFtBStcrlWfPWMYEX2sya TjDA9xmtDZlpiVnLPxJfxh88Fnpe15DbrXB6IAZOiwFl52UZpWlWVfI1gma/NdXdpLYO iSq0gAEnx0BElHKMgh2a5FYkKxsqf+yGH+PKgufm8tvBZNJzmhLt24ZlX4X9pSr9aZyr eFEBGNYF0jYIIpZji5wYz3na7U7VGeVWttg9bvSfJ/5xHyG/D1DVl0i9BvLdc2T1mmgM nxqHjXoWziAHIN+KPp7Ns8CSPQUx7M8lgKvXbHcAfFH+H4OS4kbCDm1lEMxYjSiF3MTa HjvQ== X-Gm-Message-State: AOJu0YyzGrfPrkFREs37QAagkeYYS9RJTZOWEUXgWSElWfiNGYZcE2qi yZVsndHx/Ln2cc9MJjVqagfVcLt4Sl6/cWDdPyKjt0XCk9A6Dv3WQTocZFFgn9ufSh8b+Eo4KGj JM8v2j2ahv6id36ZTUo4Qq9OC6SE7KIQqC00h0D8AU9bNCTsAdX4= X-Gm-Gg: ASbGncvgUs9/Vb7M4einVl0edvIc6pZLDlNRmN68XOqzWxEhbTUUGl4CKL/cdJJJz/T CJc+EqrmWJ7hWr81JCcdU2TezcyVbSK+L8uA5bRNfL9Lj+1w9TlYR9Y36m3M62wZcVZsrw7WNiu 2XBmMYY6KCeQMwXCSIr/IICSmy X-Google-Smtp-Source: AGHT+IG6QMvZfGxOn1MzdQjX4iw7rwCzj4Y6MrNV7ANGqkJmNK3cBVDuPn4u4ZjiyY+YmUMAK7E0+7PnKqkj3SEgHVg= X-Received: by 2002:a17:90b:1ccb:b0:2fc:3264:3666 with SMTP id 98e67ed59e1d1-2ff497c2da4mr6009792a91.30.1741188163157; Wed, 05 Mar 2025 07:22:43 -0800 (PST) MIME-Version: 1.0 From: Marc Millas Date: Wed, 5 Mar 2025 16:22:30 +0100 X-Gm-Features: AQ5f1JpUW518JqA0O67Wt86m797W8DbGEeNA1C25rmhBj-DO3KaR1L6KRZvuKlw Message-ID: Subject: end of COPY To: "pgsql-general@lists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000f3db78062f99f503" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000f3db78062f99f503 Content-Type: text/plain; charset="UTF-8" Hi, on a Postgres 16 DB running on a redhat 8.5 x86 machineI want to input some data using copy from stdin so.. more that 700 000 lines goes well. Then the flow contains a single line: \. to my understanding this means end of the copy but, Postgres generates an error : invalid input syntax for type numeric "\." then the 2 lines stating the copy command that was executed. what am I missing ? thanks Marc MILLAS Senior Architect +33607850334 www.mokadb.com --000000000000f3db78062f99f503 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
on a Postgres 16 DB running on a redhat= =C2=A08.5 x86 machineI want to input some data using=C2=A0copy from stdin
so.. more that 700 000 lines goes well.
Then the flow co= ntains a single line: \.
to my understanding this means end of th= e copy=C2=A0

but, Postgres generates an error=C2= =A0:
invalid input syntax for type numeric "\."
then the 2 lines stating the copy command that was executed.
<= br>
what am I missing ?

thanks


Ma= rc MILLAS
Senior Architect
+33607850334

<= /div>
--000000000000f3db78062f99f503--