Re: end of COPY - Mailing list pgsql-general

From Adrian Klaver
Subject Re: end of COPY
Date
Msg-id aad7bf5a-dd2f-4f36-9d35-8315fdfe81c5@aklaver.com
Whole thread Raw
In response to end of COPY  (Marc Millas <marc.millas@mokadb.com>)
List pgsql-general
On 3/5/25 07:22, Marc Millas wrote:
> 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

Provide the lines at the end of the data.

> 
> but, Postgres generates an error :
> invalid input syntax for type numeric "\."
> then the 2 lines stating the copy command that was executed.

Provide the complete error message.

> 
> what am I missing ?
> 
> thanks
> 
> 
> Marc MILLAS
> Senior Architect
> +33607850334
> www.mokadb.com <http://www.mokadb.com>
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: end of COPY
Next
From: Ron Johnson
Date:
Subject: Re: end of COPY