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 1tprhq-00DQqy-CW for pgsql-general@arkaria.postgresql.org; Wed, 05 Mar 2025 16:34:50 +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 1tprho-00FydD-UG for pgsql-general@arkaria.postgresql.org; Wed, 05 Mar 2025 16:34:48 +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 1tprho-00Fyd4-5u for pgsql-general@lists.postgresql.org; Wed, 05 Mar 2025 16:34:48 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tprhj-0018Lj-2u for pgsql-general@lists.postgresql.org; Wed, 05 Mar 2025 16:34:47 +0000 Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2f9b9c0088fso2076918a91.0 for ; Wed, 05 Mar 2025 08:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mokadb-com.20230601.gappssmtp.com; s=20230601; t=1741192483; x=1741797283; 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=+E7K4wpEv56VG074uX5REu9mYinQEEAA3IVKuTK2sw8=; b=DyMvlOvjaRIf4K5ZGmu6wC/cPmAwinrWUHUKWOO/hCE03DuBamFWKEXlySNJw3b2Ww AMtXp/UW18KkKwuu7FIF/gGCYHTtEOaTizvBQuxuuaDuHelBGHSJ74+FXeVYR02Il0kb UlEq0GELx9saejznQ3ipqt9OzgLXlbrj3LnC/1m9HMqz1Kogk0X1cEKyNT/NLhnQCOV3 marU2VSDg6+3x+do3fHuBTQG9ePAeuxnXNltleeZQMR2BtwvkZ2AAHWgXx9m+F977+Xv +oanbaAZxqLhJFA64SVK8XgV2A1IUfLo8GFeIynZiy/5AcKObvbFgGsM/kLa7MxaktXZ kxTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741192483; x=1741797283; 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=+E7K4wpEv56VG074uX5REu9mYinQEEAA3IVKuTK2sw8=; b=p1Pa8UlWllf6twEQyLQ3Sn3nG+xuWhQC6LzJI07FitksDCeCGIEwzsZvjbCD8W6dhT O1l8+kHGEwZBryAuNabfrk53MWgbeHFuaesHrf2Abt4LP+8NnH1AVt36SogGmtR6zVRg EiaHv+5REVnF5ow/fOiQuKemYm7kGXA+5Yz/Bo+yT/cAR+Xid0U0Z9uRWjqV9WGL+l2Q lplcrIsw80fx67rGyOjggj/e2+4t1SfE517qeWukonm3NXV68AgHm3L9qXgD7MwfF45V 7KxqNSMNVmDD//2lQKpmp9xF9pL8AhxtKneEA5GhY2O1kDLdRLSsmduvhouT+p2rK5ZY Xw2Q== X-Gm-Message-State: AOJu0YwWwVU/u6AqECHt8xxFhZ2UpO7q0lVr475J18BQoluiHF9np2hX MwW/FLEIX1Inn45XZ/TMSGEGUinYPykUANB49VRcaAGzpyi5RxT7CrWksM+0gYBtGWiKj+C3eYv gFVqV6Sf8zSryTwYs8VvIXnieSSdwGRYxjaRW2Q== X-Gm-Gg: ASbGnct1nxxxBX3lCbX6/FNlER5+Gxk3ruSMwyuY9MZsQFm1paH4nuRYv+jiwV0ODrC EgunE0Y1LMa4ZkMhTsK3G/ABV3MFT8QHOJZhyzSsBm3jVkorpeN/wvAp/h40oE9HkLuSsrA/71R VNNB7COwmoSgsNfo93C8wj7AXg X-Google-Smtp-Source: AGHT+IGEt1sM40UrC6qSKJal8dFY63jysPuIPjqcfT59eu9W/2Gw7GcRm8h3C1rekTng0TxE4l/a91XKDRo/3FLZ7sc= X-Received: by 2002:a17:90b:574b:b0:2f1:2e10:8160 with SMTP id 98e67ed59e1d1-2ff49ad79d8mr6303413a91.11.1741192483240; Wed, 05 Mar 2025 08:34:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Marc Millas Date: Wed, 5 Mar 2025 17:34:31 +0100 X-Gm-Features: AQ5f1JoKBJE051aNRkPDk34O3suHw1XqpH-oM1UmiZUKgA_Qa9lT81xgikVVtgM Message-ID: Subject: Re: end of COPY To: Greg Sabino Mullane Cc: "pgsql-general@lists.postgresql.org" , Ron Johnson Content-Type: multipart/alternative; boundary="0000000000007318a5062f9af79d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007318a5062f9af79d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Greg... =F0=9F=91=8D works fine now. thanks ! Marc MILLAS Senior Architect +33607850334 www.mokadb.com On Wed, Mar 5, 2025 at 4:53=E2=80=AFPM Greg Sabino Mullane wrote: > On Wed, Mar 5, 2025 at 10:22=E2=80=AFAM Marc Millas > wrote: > >> 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 >> "\." >> > > This can happen when you send TWO backslashes and a dot, rather than a > single backslash and a dot. > > Cheers, > Greg > > -- > Crunchy Data - https://www.crunchydata.com > Enterprise Postgres Software Products & Tech Support > > --0000000000007318a5062f9af79d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Greg...=C2=A0=F0=9F=91=8D

wo= rks fine now.

thanks !

Marc MILLAS
Seni= or Architect
+33607850334

<= /div>


On Wed, Mar 5, 2025 at 4:53=E2= =80=AFPM Greg Sabino Mullane <htam= fids@gmail.com> wrote:
On Wed, Mar 5, 2025 at 10:2= 2=E2=80=AFAM Marc Millas <marc.millas@mokadb.com> wrote:
Then the flow contains a single line: \. to my understanding this mea= ns end of the copy=C2=A0

but, Postgres generates a= n error=C2=A0: invalid input syntax for type numeric "\."

This can happen=C2=A0when you send TWO= backslashes and a dot, rather than a single backslash and a dot.

Cheers,
Greg

--
Enterprise Postgres Software Products &= ; Tech Support

--0000000000007318a5062f9af79d--