I have in table column, which type is CHARACTER VARYING[]
(that is array)
I need concatenate existed rows whith other array
This is my code:
UPDATE my_table SET
col = array_cat(col, ARRAY['5','6','7'])
returned error: function array_cat(character varying[], text[]) does not exist
Reason error is that array types not matches right?
Question: how to convert this array ARRAY['5','6','7']
as CHARACTER VARYING[]
type ?