Shigeru Hanada <shigeru.hanada@gmail.com> writes:
> During reading Albe's patch for FDW validator attached to "Bug in
> SQL/MED?" posted to pgsql-hackers[1], I noticed that neither ALTER
> commands nor USER MAPPING is mentioned in the description of FDW
> validator in "Writing A Foreign Data Wrapper"[2]. The validator
> function is also called for ALTER commands and USER MAPPING
> manipulation, if any FDW option remains.
> Please find attached a patch which adds a mention of ALTER and USER MAPPING.
Applied with some editorial adjustments.
regards, tom lane