Is this a bug or some artifact of the SQL language that I've never
seen before?
SELECT v_id
FROM table
WHERE col = 'V')
AND blah
executes without errors, ignoring the closing paren and everything thereafter.
Platform: PostgreSQL 8.0.3 on Intel / Windows XP