Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
700 stars 145 forks source link

XML fdw seems broken (python 2.7 and 3.6, pg 9.5 and 10) #207

Open Remi-C opened 6 years ago

Remi-C commented 6 years ago

Hey, strange stuff happening with XML fdw. Row are indeed correctly created (if y have 1000 tags foo in the XTML file, I'll get 1000 rows), but all rows are empty !

I installed latest version cloning this repo and making (I also tried install with apt-get , same result). I tried several versions without success, tried several XML files with several encoding as well. I also tried column of type text and xml.

CSV fdw works fine. Could you give me pointer to how I could debug that? I guess the python parts does the job (parsing seems to work), but the transition between python and postgres (C) is faulty.