pgsql: Improve error message when an FDW doesn't support WHERE CURRENT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve error message when an FDW doesn't support WHERE CURRENT
Date: 2013-04-19 20:15:05
Message-ID: E1UTHi5-00031M-TJ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6e481ebff6368cb0ab5351a5ef3463747c35af22

Modified Files
--------------
src/backend/executor/execQual.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-04-20 15:07:15 pgsql: Clean up references to SQL92
Previous Message Tom Lane 2013-04-19 17:28:52 pgsql: Don't try to pass -I switch to postmaster in contrib/start-scrip