rtrim ( string text [, characters text ] ) → textRemoves the longest string containing only characters in
characters (a space by default) from the end of string.rtrim('testxxzx', 'xyz') → testRemoves the longest string containing only characters in characters (a space by default) from the end of string.
rtrim ( string text [, characters text ] ) → textRemoves the longest string containing only characters in
characters (a space by default) from the end of string.rtrim('testxxzx', 'xyz') → testrtrim ( bytes bytea, bytesremoved bytea ) → byteaRemoves the longest string containing only bytes appearing in
bytesremoved from the end of bytes.rtrim('\x1234567890'::bytea, '\x9012'::bytea) → \x12345678Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source