Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2psql option uses empty string '' instead of NULL when data is missing #3

Open
elektronisk opened this issue Jul 28, 2015 · 1 comment

Comments

@elektronisk
Copy link

I'm trying to load a SOSI file to a postgis database. It works well, but I note that an empty string '' is used if a field is missing, when it is instead common to use NULL. For me it works to hack line 207 in converter_sosi2psql.cpp, to always use "NULL,", but it might be useful to others to be able to select the behavior with a command line option.

@espena
Copy link
Owner

espena commented Jul 31, 2015

You're perfectly right. I'll address this issue in an upcoming commit. Thanks for providing useful feedback. Please let me know if other issues arise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants