Yeah. The core problem here is that the parser has to disambiguate the || operator: is it "anyarray || anyelement" or "anyarray || anyarray"?
Peeking at the contents of the literal would make the behavior very unpredictable/data-dependent, so we don't.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных