I’m trying to update a lot of row in my database using unnest(). Here’s my db: Then I update the table with: But I got the following error: However, it’s working if I do a classic update. Any idea ? Answer Since your data is a 2×100 matrix, is better to partition it in vectors (1d array) for each parameter