An error occured in: ERROR: could not resize shared memory segment "/PostgreSQL.1928546848" to 1048576 bytes: No space left on device Query: SELECT
ip_city.city_id as id,
city_name as name,
city_seo as seo,
COALESCE(ic.ile,0) as ile
FROM
ip_city
LEFT JOIN(
SELECT
count(ip_card.card_id) as ile,
ip_city.city_id
FROM
ip_card,
ip_city,
ip_card_cs icc,
ip_cs ic
WHERE
ip_card.card_status = '0' AND
ip_card.city_id=ip_city.city_id AND
ip_card.card_id = icc.card_id AND
icc.cs_id=ic.cs_id AND
ic.cat_id = 44102
GROUP BY ip_city.city_id
) ic ON (ic.city_id = ip_city.city_id)
WHERE
ip_city.powiat_id=325
ORDER BY city_name
« Cofnij do: łomżyński
Piątnica: An error occured in: ERROR: could not resize shared memory segment "/PostgreSQL.1138698796" to 1048576 bytes: No space left on device Query: SELECT DISTINCT
ip_subcategory.subcat_id AS id,
ip_subcategory.subcat_name AS name,
ip_subcategory.subcat_seo AS seo,
COALESCE(ips.ile,0) as ile
FROM
ip_subcategory
LEFT JOIN (
SELECT count(DISTINCT(ip_card.card_id)) as ile, subcat_id
FROM
ip_card_cs,
ip_cs,
ip_card,
ip_city
WHERE
ip_card_cs.cs_id=ip_cs.cs_id AND
ip_card_cs.card_id = ip_card.card_id AND
ip_card.city_id = ip_city.city_id AND
ip_card.card_status = '0' AND
ip_city.city_id=2199 AND
ip_cs.cat_id=44102
GROUP BY subcat_id
) ips ON (ips.subcat_id=ip_subcategory.subcat_id ),
ip_cs
WHERE
ip_cs.cat_id=44102 AND
ip_cs.subcat_id=ip_subcategory.subcat_id
ORDER BY
ip_subcategory.subcat_name