Improve error message when an FDW doesn't support WHERE CURRENT OF.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6e481ebff6368cb0ab5351a5ef3463747c35af22
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-04-19T20:14:56Z
Releases: 9.3.0
Improve error message when an FDW doesn't support WHERE CURRENT OF.

If an FDW fails to take special measures with a CurrentOfExpr, we will
end up trying to execute it as an ordinary qual, which was being treated
as a purely internal failure condition.  Provide a more user-oriented
error message for such cases.

Files

PathChange+/−
src/backend/executor/execQual.c modified +8 −4