pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sutou Kouhei <kou@clear-code.com>
To: sawada.mshk@gmail.com
Cc: v.popolitov@postgrespro.ru
Cc: zhjwpku@gmail.com
Cc: michael@paquier.xyz
Cc: pgsql-hackers@postgresql.org
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Date: Wed, 05 Feb 2025 16:37:25 +0900 (JST)
Message-ID: <20250205.163725.963329192546915298.kou@clear-code.com> (raw)
In-Reply-To: <CAD21AoDCH1io_dGtsmnmZ4bUWfdPhEUe_8VQNvi31+78Pt7KdQ@mail.gmail.com>
References: <20250204.152927.1922290693174479861.kou@clear-code.com>
	<eb59c12bb36207c65f23719f255eb69b@postgrespro.ru>
	<CAD21AoDCH1io_dGtsmnmZ4bUWfdPhEUe_8VQNvi31+78Pt7KdQ@mail.gmail.com>

Hi,

In <CAD21AoDCH1io_dGtsmnmZ4bUWfdPhEUe_8VQNvi31+78Pt7KdQ@mail.gmail.com>
  "Re: Make COPY format extendable: Extract COPY TO format implementations" on Tue, 4 Feb 2025 17:32:07 -0800,
  Masahiko Sawada <sawada.mshk@gmail.com> wrote:

> BTW we need to check if the return value type of the handler function
> is copy_handler.

Oh, can we do it without calling a function? It seems that
FmgrInfo doesn't have return value type information. Should
we read pg_catalog.pg_proc or something for it?


Thanks,
-- 
kou





view thread (340+ messages)  latest in thread

Message-ID: <20250205.163725.963329192546915298.kou@clear-code.com>
Permalink:  ../20250205.163725.963329192546915298.kou@clear-code.com/
Also on:    postgresql.org/message-id/20250205.163725.963329192546915298.kou@clear-code.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: kou@clear-code.com, sawada.mshk@gmail.com, v.popolitov@postgrespro.ru, zhjwpku@gmail.com, michael@paquier.xyz
  Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
  In-Reply-To: <20250205.163725.963329192546915298.kou@clear-code.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox