Fatal error: Uncaught PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "to"
LINE 1: select hl.*, extend(hl.cas_hl,hour to minute) cas, extend(h...
^ in /var/www/html/psp.cz/php/sqw.php:306
Stack trace:
#0 /var/www/html/psp.cz/php/sqw.php(306): PDOStatement->execute()
#1 /var/www/html/psp.cz/php/hlasy.php(2415): sqw_do()
#2 /var/www/html/psp.cz/php/hlasy.php(2508): sqw_html()
#3 /var/www/html/psp.cz/en/sqw/hlasy.php(2): include('...')
#4 {main}
thrown in /var/www/html/psp.cz/php/sqw.php on line 306