Re: end of COPY - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: end of COPY
Date
Msg-id CAKAnmmLM4eMORPFf=zVK=DPpGFn7+CvrDPq3LP_TjdqTTZpSxQ@mail.gmail.com
Whole thread Raw
In response to end of COPY  (Marc Millas <marc.millas@mokadb.com>)
Responses Re: end of COPY
Re: end of COPY
List pgsql-general
On Wed, Mar 5, 2025 at 10:22 AM Marc Millas <marc.millas@mokadb.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

--
Enterprise Postgres Software Products & Tech Support

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: end of COPY
Next
From: Adrian Klaver
Date:
Subject: Re: end of COPY