Hi,
You'll notice that, even without your patch, something like (:currval "foo") expands to currval('foo') -- it's just a function, and when no special syntax is defined for a keyword, S-SQL will expand it as a function. Given this, does the patch still serve a purpose?
Best, Marijn