Warning: pg_query(): Query failed: ОШИБКА: ошибка синтаксиса (примерное положение: "s") LINE 1: ...lect "id" from "dfa_tags" where "tag" in ('Billy\'s Donuts')... ^ in /html/inc-news.ru/system/core/etc/_db_postgres.php on line 49
error sql: select n."nid" id, n."timeStart", n."timeEnd" from "dfa_node_access" 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 ('Billy\'s Donuts')) where ((n."timeStart" is NULL) or (n."timeStart"<=1553461200)) and n."access" is not NULL and ((n."timeEnd" is NULL) or (n."timeEnd">=1553461200)) and n."enid"=2 and n."epid"=1 and n."pid" in (4,8,12,11,14,13,9,5,6,2,3) and n."nid" not in (526,577,566,565,564,562,561,560,555) group by n."nid", n."timeStart", n."timeEnd" order by n."timeStart" desc limit 4