R
Size: a a a
R
АЛ
s
'a'
получим text 'a '
. Поэтому придётся ещё делать rtrim.YS
s
test=# select t1.typname, t2.typname
from pg_cast, pg_type as t1, pg_type as t2
where
t1.oid = castsource and t2.oid = casttarget and
castmethod = 'b' and t1.typname in ('bpchar','varchar','text') order by 1,2 ;
typname | typname
---------+---------
text | bpchar
text | varchar
varchar | bpchar
varchar | text
(4 rows)
s
DA
s
s
s
ЕР
ОШИБКА: cache lookup failed for operator
ЕР
АЛ
YS
ОШИБКА: cache lookup failed for operator
ЕР
YS
ЕР
АЛ
АЛ
АЛ