Delphi Array Functions Postgres Database