как сравнить две строки ?
сейчас делаю так:
if position('postgres' in current_user)=1
and char_length('postgres')=char_length(current_user)
then
-- строки равны
return new;
end if; -- user postgres
как сравнить две строки ?
сейчас делаю так:
if position('postgres' in current_user)=1
and char_length('postgres')=char_length(current_user)
then
-- строки равны
return new;
end if; -- user postgres