doc patch: note AttributeRelationId passed to FDW validator function

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: doc patch: note AttributeRelationId passed to FDW validator function
Date: 2023-06-07 00:08:51
Message-ID: CAB8KJ=i16t2yJU_Pq2Z+hnNGWFhagp_bJmzxHZu3ZkOjZm-+rQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

Here:

https://www.postgresql.org/docs/current/fdw-functions.html

the enumeration of OIDs which might be passed as the FDW validator function's
second argument omits "AttributeRelationId" (as passed when altering
a foreign table's column options).

Attached v1 patch adds this to this list of OIDs.

The alternative v2 patch adds this to this list of OIDs, and also
formats it as an
SGML list, which IMHO is easier to read.

Looks like this has been missing since 9.3.

Regards

Ian Barwick

Attachment Content-Type Size
doc-fdw-validator-AttributeRelationId.v2.patch text/x-patch 1.7 KB
doc-fdw-validator-AttributeRelationId.v1.patch text/x-patch 829 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2023-06-07 00:48:27 Re: TRAP: FailedAssertion("prev_first_lsn < cur_txn->first_lsn", File: "reorderbuffer.c", Line: 927, PID: 568639)
Previous Message Florents Tselai 2023-06-06 22:30:55 Re: Improving FTS for Greek