PG84, GP40, GP41 need special treatment for arrays in plpython
Use class instead of a function so that

the times of select version is minimized