I have a table containing a array of timestamps, like the following:
CREATE TABLE start_times
(
start_date timestamp[]
);
I am not sure how to insert the timestamp values into the array. I read in a article that I should use double quotes, instead of single quotes when inserting a timestamp into a array, like such:
INSERT INTO start_times VALUES (ROW('{{"10-JAN-15 12.51.14.340358000 AM"},{"11-JAN-15 12.51.14.340358000 AM"}}'));
However, when I tried that I got the following error:
ERROR: invalid input syntax for type timestamp: "10-JAN-15 12.51.14.340358000 AM"
SQL state: 22007
Character: 165
Can someone tell me how I can insert timestamp values into the timestamp array?