NULL Byte Support in PostgreSQL Character Columns[7]

With z/OS DB2, you can store the NULL byte (x'00') into character columns; however, PostgreSQL does not allow this. To work around this limitation:

Note: If using CHARSET(EBCDIC) for your SQL programs, AWS provides EBCDIC collation(s) for your UTF-8 database. See your AWS documentation for more information.