Segfault-Inc / Multicorn

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

pythonSequenceToTuple was losing NULLs #51

Open alexg0 opened 10 years ago

alexg0 commented 10 years ago

NULL values from FDW that returned Sequences, would not be recognized, and be converted to empty strings.

rdunklau commented 10 years ago

Thank you for this pull request. Do you have a test case for this ?

alexg0 commented 10 years ago

@rdunklau Unfortunately not familiar enough with Multicorn test system to setup formal test case. This solves the bug of turning None values into empty strings, instead of NULL.

rdunklau commented 10 years ago

I didn't mean necessarily a format test case, just a simple example showing the problem.