An error occured in: ERROR: could not resize shared memory segment "/PostgreSQL.653257397" to 145696 bytes: No space left on device Query:
(
SELECT DISTINCT
card.card_id as id,
card.card_name as nazwa,
card.address_street as ulica,
card.address_street_nr as numer,
card.address_post_code as kod_pocztowy,
card.card_telephone as telefon,
card.card_email as card_telephone,
card.card_seo,
city.city_name as miasto,
city.city_id as city_id,
ip_powiat.powiat_name as powiat,
ip_state.state_name as wojewodztwo,
card.card_business_type as rodzajdzialanosci,
card.card_keywords as slowakluczowe,
card.card_www as www,
COALESCE(card.google_localization, '') as google_localization,
card.card_kind as rodzaj,
card.card_open_www as otwieraj_www,
card.card_kind,
poz.pos_position as pozycja
FROM
ip_cs cat, ip_card_cs cc, ip_powiat powiat,
ip_city city,
ip_powiat,
ip_state,
ip_card card
LEFT JOIN
ip_positioning poz ON (poz.user_id=card.user_id AND poz.state_id=0 AND poz.cat_id=42058 AND poz.subcat_id=0)
WHERE
city.city_id=card.city_id AND
city.powiat_id=ip_powiat.powiat_id AND
ip_powiat.state_id=ip_state.state_id AND
card.card_status = '0' AND
card.card_kind != 0
AND card.card_id=cc.card_id AND cc.cs_id=cat.cs_id AND cat.cat_id=42058 AND city.powiat_id=powiat.powiat_id AND powiat.state_id=7 AND city.powiat_id=126
ORDER BY pozycja ASC, card.card_kind DESC, card.card_name ASC
) UNION ALL (
SELECT DISTINCT
card.card_id as id,
card.card_name as nazwa,
card.address_street as ulica,
card.address_street_nr as numer,
card.address_post_code as kod_pocztowy,
card.card_telephone as telefon,
card.card_email as card_telephone,
card.card_seo,
city.city_name as miasto,
city.city_id as city_id,
ip_powiat.powiat_name as powiat,
ip_state.state_name as wojewodztwo,
card.card_business_type as rodzajdzialanosci,
card.card_keywords as slowakluczowe,
card.card_www as www,
COALESCE(card.google_localization, '') as google_localization,
card.card_kind as rodzaj,
card.card_open_www as otwieraj_www,
card.card_kind,
100 as pozycja
FROM
ip_cs cat, ip_card_cs cc, ip_powiat powiat,
ip_city city,
ip_powiat,
ip_state,
ip_card card
WHERE
city.city_id=card.city_id AND
city.powiat_id=ip_powiat.powiat_id AND
ip_powiat.state_id=ip_state.state_id AND
card.card_status = '0' AND
card.card_kind = 0
AND card.card_id=cc.card_id AND cc.cs_id=cat.cs_id AND cat.cat_id=42058 AND city.powiat_id=powiat.powiat_id AND powiat.state_id=7 AND city.powiat_id=126
ORDER BY card.card_name ASC
)
LIMIT 10 OFFSET 0
An error occured in: ERROR: could not resize shared memory segment "/PostgreSQL.711886129" 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 = 42058
GROUP BY ip_city.city_id
) ic ON (ic.city_id = ip_city.city_id)
WHERE
ip_city.powiat_id=126
ORDER BY city_name
« Cofnij do: Małopolskie