Есть ли хак при вставке многомерного массива в postgres? Я хотел бы вставить что-то вроде
INSERT INTO Timesheet (day, startTime, endTime, idSchedule)
VALUES(unnest(array['TUE', 'FRI']),
unnest(array[['10:00', '02:00'], ['10:00']]),
unnest(array[['14:00', '23:00'], ['14:00']]), 1);
Или подробно
INSERT INTO Timesheet (day, startTime, endTime, idSchedule)
VALUES('TUE', '10:00', '14:00', 1),
('TUE', '02:00', '23:00', 1),
('FRI', '10:00', '14:00', 1);
Запрос завершается неудачно с
ERROR: multidimensional arrays must have array expressions with matching dimensions
Может быть, есть какие-то решения?