An error occured in: ERROR: could not resize shared memory segment "/PostgreSQL.1862506559" to 204224 bytes: No space left on device Query: SELECT DISTINCT
ip_speccategory.speccat_id AS id,
ip_speccategory.speccat_name AS name,
ip_speccategory.speccat_seo AS seo,
COALESCE(ips.ile, 0) as ile
FROM
ip_speccategory
LEFT JOIN (
SELECT
count(DISTINCT(card.card_id)) as ile,
speccat_id
FROM
ip_card_cs,
ip_cs,
ip_card card,
ip_city city
WHERE
card.card_status = '0' AND
card.card_id = ip_card_cs.card_id AND
city.city_id=card.city_id AND
ip_card_cs.cs_id=ip_cs.cs_id AND
ip_cs.subcat_id=42187
GROUP BY speccat_id
) ips ON (ips.speccat_id=ip_speccategory.speccat_id ),
ip_cs
WHERE
ip_cs.subcat_id=42187 AND
ip_cs.speccat_id=ip_speccategory.speccat_id
ORDER BY
ip_speccategory.speccat_name