I\'m trying to convert the interpolation script I found at https://www.bytefish.de/blog/postgresql_interpolation.html to suit on my purposes. I got it already work fine but how