Hi Mike,
 
If you share sample data, expected results, table definitions etc, we can help you easier.
 
Best regards.


İyi çalışmalar.
Samed YILDIRIM



11.08.2020, 13:50, "Mike Martin" <redtux1@gmail.com>:
Is this possible? I have seen examples with array literals as VALUES string, but I cant seen to get it to work with an actual array.

testing code

--This gets me a multidimensional array
with arr AS (
SELECT ARRAY(SELECT ARRAY[fileid::text,tagname,array_to_string(tagvalue,E'\b')]
FROM tagdata_all) -- limit 100)
arr1
)
--Then

INSERT INTO  tagdatatest2
SELECT  arr1::text[] FROM arr --doesnt work only populates one column with original array