Robert Haas wrote:> Updated version attached, this time without the compiler warning.
I have committed something based on this. The issue of empty arrays will need a separate solution.