2020年8月16日(日) 15:32 Andrus <kobruleht2@xxxxxx>: (...) > PostgreSQL 9.3.5 is used. Unable to help with the query, but assuming that's not a typo can I be among the first to urge you to at the very least update to 9.3.25, which contains almost half-a-decade's worth of fixes, many critical? See: https://why-upgrade.depesz.com/show?from=9.3.5&to=9.3.25 Regards Ian Barwick