Postgres Select Ids Into Array Initialization Cpp Dates 2025