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') → testFunctions / String Functions And Operators
Removes the longest string containing only characters in characters (a space by default) from the end of string.
Reading PG 18current·documented in 27 of 27 versions, 7.1 to 20
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: b7bd9cda · English manual source