I would say it's just a query with to many rows or something like that. My query was: SELECT jaro('word', col) FROM table. The tables has ca. 75000 rows. If I'm gonna use the WHERE condition and only select the first 10000 rows, it's working. So it could be something with the memory, but 1024 bytes?! Janek Sendrowski -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general