Re: end of COPY

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Marc Millas <marc(dot)millas(at)mokadb(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
Subject: Re: end of COPY
Date: 2025-03-05 15:52:24
Message-ID: CAKAnmmLM4eMORPFf=zVK=DPpGFn7+CvrDPq3LP_TjdqTTZpSxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 5, 2025 at 10:22 AM Marc Millas <marc(dot)millas(at)mokadb(dot)com> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-03-05 15:55:03 Re: end of COPY
Previous Message Ron Johnson 2025-03-05 15:40:33 Re: end of COPY