CHR
Return the character for a given code point (Unicode code points for UTF8).
CHR(int)
For example:
premdb=# select chr(90);
chr
-----
Z
(1 row)
premdb=# select seasonid, chr(seasonid)
from season order by seasonid;
seasonid | chr
----------+----------
1 | \x01
2 | \x02
3 | \x03
4 | \x04
5 | \x05
...
Parent topic:String Functions