Andrei Ivanov <andrei(dot)ivanov(at)ines(dot)ro> writes:
> template1=# select usename from pg_user;
> ERROR: did not find '}' at end of input node
There's something wrong with the ON SELECT rule for the pg_user view,
evidently. Could we see the output of
select * from pg_rewrite where ev_class = 16683;
regards, tom lane