pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Rajan Pandey <rajanpandey2508@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postgres_FDW doc doesn't specify TYPE support in Remote Execution Options
Date: Tue, 09 Apr 2024 12:36:08 +0200
Message-ID: <54d1adf4bca421ef355fd26c259ba83016cc09a9.camel@cybertec.at> (raw)
In-Reply-To: <CAPr50Mn8YZxMRNcbF25r2b4tf+sPBj39T6CQyq04-UD8OfPDQA@mail.gmail.com>
References: <CAPr50Mn8YZxMRNcbF25r2b4tf+sPBj39T6CQyq04-UD8OfPDQA@mail.gmail.com>

On Tue, 2024-04-09 at 15:49 +0530, Rajan Pandey wrote:
> I was reading https://www.postgresql.org/docs/current/postgres-fdw.html#POSTGRES-FDW-OPTIONS-REMOTE-EXECUTION
> and found that it mentions that Immutable Functions and Operators can
> be pushed down using `extensions` option for foreign server.
> 
> But it does not mention about TYPE. In the shippable.c/lookup_shippable()
> function, I found that type is also pushed down.

The comment only says that data types may be shippable, but not that
they are actually shipped.  Can you think of a case where a data type
would be shipped to a foreign server?  I wrote a foreign data wrapper,
and I cannot think of such a case.

Perhaps the function comment should be adjusted by removing the parenthesis
or changing it to "(operator/function/...)".

> Does this require updating the docs? Can I raise a PR to do so? Thank you! :) 

You would send a patch against the "master" branch to the pgsql-docs list for that.

Yours,
Laurenz Albe





view thread (6+ messages)  latest in thread

Message-ID: <54d1adf4bca421ef355fd26c259ba83016cc09a9.camel@cybertec.at>
Permalink:  ../54d1adf4bca421ef355fd26c259ba83016cc09a9.camel@cybertec.at/
Also on:    postgresql.org/message-id/54d1adf4bca421ef355fd26c259ba83016cc09a9.camel@cybertec.at

 · 

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-docs@postgresql.org
  Cc: laurenz.albe@cybertec.at, rajanpandey2508@gmail.com, pgsql-general@lists.postgresql.org
  Subject: Re: Postgres_FDW doc doesn't specify TYPE support in Remote Execution Options
  In-Reply-To: <54d1adf4bca421ef355fd26c259ba83016cc09a9.camel@cybertec.at>

* 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