HelloI seen nice trick based on window function http://stackoverflow.com/questions/11700930/how-can-i-trim-a-text-array-in-postgresqlbut isn't it example of wrong evaluation? Result of row_number is not correct
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных