> Back in the day, PG allowed ":" as a generic operator name, making
> this even worse; but I think the only remaining SQL syntax that could
> include a colon is array slicing.
Ok, so the behavior of replacing ":unknown" by same cannot be changed.
Some fun:
\set 1 1
SELECT ('{1,2,3,4,5,6,7,8,9,10,11,12}'::INT[])[1:1];
-- yields 11
--
Fabien.