Hi,
I don't know what this is about, so I could get from someone who knows more PostgreSQL than I do,
some rational explanation of what the problem is.
2 -------------------------------------------------------
select
substring(encode(lice,'base64'), 110, 5) as Lokal0,
length(substring(encode(lice,'base64'), 110, 5)) as Len05,
decode(substring(encode(lice,'base64'), 110, 5),'base64') as Lokal0decode
from grupa002.ispp_partner
where obrisan=0 and maticnibroj=30643;
ERROR: 22023: invalid end sequence
LOCATION: b64_decode, encode.c:327