Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-03-02 Thread Masahiko Sawada
On Fri, Feb 28, 2025 at 12:14 PM Andrew Dunstan wrote: > > > On 2025-02-28 Fr 2:55 PM, Masahiko Sawada wrote: > > On Fri, Feb 28, 2025 at 11:47 AM Andrew Dunstan wrote: > >> > >> On 2025-02-28 Fr 1:31 PM, Masahiko Sawada wrote: > >> > >> Refactor COPY FROM to use format callback functions. > >> >

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Masahiko Sawada
On Fri, Feb 28, 2025 at 3:06 PM Andrew Dunstan wrote: > > > On 2025-02-28 Fr 5:39 PM, Masahiko Sawada wrote: > > On Fri, Feb 28, 2025 at 2:16 PM Sutou Kouhei wrote: > > Hi, > > Thanks for following up the patch! > > In > "Re: pgsql: Refactor COPY FROM

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Masahiko Sawada
On Fri, Feb 28, 2025 at 2:16 PM Sutou Kouhei wrote: > > Hi, > > Thanks for following up the patch! > > In > "Re: pgsql: Refactor COPY FROM to use format callback functions." on Fri, > 28 Feb 2025 12:56:19 -0800, > Masahiko Sawada wrote: > > >

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Andrew Dunstan
On 2025-02-28 Fr 5:39 PM, Masahiko Sawada wrote: On Fri, Feb 28, 2025 at 2:16 PM Sutou Kouhei wrote: Hi, Thanks for following up the patch! In "Re: pgsql: Refactor COPY FROM to use format callback functions." on Fri, 28 Feb 2025 12:56:19 -0800, Masahiko Sawada wrote: R

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Sutou Kouhei
Hi, Thanks for following up the patch! In "Re: pgsql: Refactor COPY FROM to use format callback functions." on Fri, 28 Feb 2025 12:56:19 -0800, Masahiko Sawada wrote: > Right. I've attached the updated patch. In general, this approach will work but could you keep the

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Andrew Dunstan
On 2025-02-28 Fr 2:55 PM, Masahiko Sawada wrote: On Fri, Feb 28, 2025 at 11:47 AM Andrew Dunstan wrote: On 2025-02-28 Fr 1:31 PM, Masahiko Sawada wrote: Refactor COPY FROM to use format callback functions. This commit introduces a new CopyFromRoutine struct, which is a set of callback rout

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Andrew Dunstan
On 2025-02-28 Fr 1:31 PM, Masahiko Sawada wrote: Refactor COPY FROM to use format callback functions. This commit introduces a new CopyFromRoutine struct, which is a set of callback routines to read tuples in a specific format. It also makes COPY FROM with the existing formats (text, CSV, and b

Re: pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Masahiko Sawada
On Fri, Feb 28, 2025 at 11:47 AM Andrew Dunstan wrote: > > > On 2025-02-28 Fr 1:31 PM, Masahiko Sawada wrote: > > Refactor COPY FROM to use format callback functions. > > This commit introduces a new CopyFromRoutine struct, which is a set of > callback routines to read tuples in a specific format.

pgsql: Refactor COPY FROM to use format callback functions.

2025-02-28 Thread Masahiko Sawada
Refactor COPY FROM to use format callback functions. This commit introduces a new CopyFromRoutine struct, which is a set of callback routines to read tuples in a specific format. It also makes COPY FROM with the existing formats (text, CSV, and binary) utilize these format callbacks. This change