UPDATE table set user_info = CHAR(0, 2, 0, 0), user_data = CHAR(123, 1, 0, 2) WHERE user_id = 1;
select and insert them as:
SELECT HEX(user_info) AS user_info, HEX(user_data) AS user_data FROM table; INSERT INTO table (user_info, user_data) VALUES (UNHEX(hexdata_commng_from_app), UNHEX(hexdata_commng_from_app));
I check PG does not have functions HEX and UNHEX. Some one can help a little ?