Wrong error hints for internal-use-only columns
Created by: Piiit
A=# select * from ((select * from rt) rt(rn, t) align rt s on true with (rn_1,a,p1,h)) x;
ERROR: column rt.rn_1 does not exist
LINE 1: ...ect * from rt) rt(rn, t) align rt s on true with (rn_1,a,p1,...
^
HINT: Perhaps you meant to reference the column "rt"."rn_0".
rn_0 should not be visible here!