[Qgis-developer] qgis freezes when opening attribute table of a postgis layer without key value

Régis Haubourg regis.haubourg at eau-adour-garonne.fr
Fri May 23 08:32:31 PDT 2014


Making a view from that table goes well. 
I really don't have a clue.

see definition of the view
-- DROP VIEW dce.masse_eau_anomalie_ag;

CREATE OR REPLACE VIEW dce.masse_eau_anomalie_ag AS 
SELECT id_anomalie, eu_cd, version_dce, description_anomalie,
date_signalement, 
       operateur, date_correctif, statut, geom_point
  FROM dce.masse_eau_anomalie;


ALTER TABLE dce.masse_eau_anomalie_ag
  OWNER TO postgres;
GRANT ALL ON TABLE dce.masse_eau_anomalie_ag TO postgres;


and some data to populate the table (postgis 1.5):

INSERT INTO masse_eau_anomalie VALUES (7, 'FRFR523B', 'EDL2013', 'inversion
de confluence serre-mayne . impact segments et tracé et FRFR523A',
'2014-05-20', 'RH', NULL, 'acceptée',
'01010000206A080000000000000C83214100000000AAA75841');
INSERT INTO masse_eau_anomalie VALUES (8, 'FRFR928', 'EDL_2013', 'rigole de
la plaine pas codifiée en RM&C. demander une codif à AERMC', '2014-05-23',
'RH', NULL, 'en attente',
'01010000206A08000099F41342C94E2341F29539CFEEDB5741');
INSERT INTO masse_eau_anomalie VALUES (9, 'FRFR926', 'EDL_2013', 'segment
recodifié dans carthage 2013', '2014-05-23', 'RH', NULL, 'acceptée',
'01010000206A0800001343046C3F1E184199900EE1B3F75841');
INSERT INTO masse_eau_anomalie VALUES (10, 'FRFRR332_6', 'EDL_2013',
'segment recodifié dans carthage 2013', '2014-05-23', 'RH', NULL,
'acceptée', '01010000206A080000D2457342D4201C4111D3BDDA82CF5841');
INSERT INTO masse_eau_anomalie VALUES (11, 'FRFT01', 'EDL_2013', 'segment
recodifié dans carthage 2013', '2014-05-23', 'RH', NULL, 'acceptée',
'01010000206A0800004A0CDD8CC7161841EAA584BBE2F85841');
INSERT INTO masse_eau_anomalie VALUES (12, 'FRFRR49_7', 'EDL_2013', 'segment
recodifié dans carthage 2013', '2014-05-23', 'RH', NULL, 'acceptée',
'01010000206A080000625BE5C313AE2041B3B0B9AF21C75841');
INSERT INTO masse_eau_anomalie VALUES (13, 'FRFR926', 'EDL_2013', 'segment
recodifié dans carthage 2013', '2014-05-23', 'RH', NULL, 'acceptée',
'01010000206A080000F7C622F65A6E18419CE9344156F45841');
INSERT INTO masse_eau_anomalie VALUES (14, 'FRFR928', 'EDL_2013', 'segment
recodifié dans carthage 2013', '2014-05-23', 'RH', NULL, 'acceptée',
'01010000206A0800009C42C21F58562341B27B97EE05DC5741');
INSERT INTO masse_eau_anomalie VALUES (15, 'FRFR928', 'EDL_2013', 'segment
recodifié dans carthage 2013', '2014-05-23', 'RH', NULL, 'acceptée',
'01010000206A0800009C42C21F58562341B27B97EE05DC5741');
INSERT INTO masse_eau_anomalie VALUES (16, 'FRFR431', 'EDL_2013', 'supprimer
segments latéral ', '2014-05-23', 'RH', NULL, NULL,
'01010000206A080000E58221BC24B11841FABC684B63E35741');






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/qgis-freezes-when-opening-attribute-table-of-a-postgis-layer-without-key-value-tp5141587p5142181.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list