[lms] pgsql i problem z wyszukiwaniem