Warning: pg_query() [function.pg-query]: Query failed: CHYBA: syntaktická chyba na konci vstupu at character 42 in /var/www/localhost/htdocs/cgi-bin/qhotline/table.php on line 223

Warning: pg_fetch_all() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgi-bin/qhotline/table.php on line 224

Warning: pg_free_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/localhost/htdocs/cgi-bin/qhotline/table.php on line 226

Warning: pg_query() [function.pg-query]: Query failed: CHYBA: syntaktická chyba pri alebo v blízkosti "AND" at character 425 in /var/www/localhost/htdocs/cgi-bin/qhotline/table.php on line 229
Query failed: SELECT e.id, to_char(e.event_time, 'YYYY-MM-DD HH24:MI') AS event_time, e.description, e.name, e.protokol, e.cprotokol, e.cas, e.importance, e.state, r.login AS resp_name, r2.login AS resp_2_name, r3.login AS resp_3_name, c.name AS customer_name FROM ONLY users r3 RIGHT JOIN (ONLY users r2 RIGHT JOIN (ONLY users r RIGHT JOIN (ONLY customer c RIGHT JOIN (SELECT * FROM ONLY service_event WHERE active = 1 AND company_id = : CHYBA: syntaktická chyba pri alebo v blízkosti "AND" at character 425