Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Since I brought it up - a patch along this line?
Please don't capitalize "foreign table" there.
Also, I think an "else" before the other ereport would make the code
clearer, even though it's not strictly necessary.
regards, tom lane