Warning: pg_query(): Query failed: ОШИБКА: ошибка синтаксиса (примерное положение: "Италия") LINE 1: ...ct "id" from "dfa_tags" where "tag" in ('Джиро д\'Италия','н... ^ in /html/sovsport.ru/system/core/etc/_db_postgres.php on line 50
error sql: select n."nid" id, n."timeStart", n."timeEnd" from ( select * from "dfa_node_access" where "timeCreate" > 1483218000 ) n inner join "dfa_tags_conn" t on t."nid"=n."nid" and n."enid"=2 and t."tid" in ( select "id" from "dfa_tags" where "tag" in ('Джиро д\'Италия','нибали виченцо','йейтс саймон','сиваков павел','закарин ильнур')) where ((n."timeStart" is NULL) or (n."timeStart"<=1558558800)) and n."access" is not NULL and ((n."timeEnd" is NULL) or (n."timeEnd">=1558558800)) and n."enid"=2 and n."epid"=1 and n."pid" in (2) group by n."nid", n."timeStart", n."timeEnd" order by n."timeStart" desc limit 4