diff options
author | Christopher Baines <mail@cbaines.net> | 2019-09-04 12:52:12 +0200 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-09-04 12:52:12 +0200 |
commit | 14419422008cc1ba42dea5ef90e6fb2762633064 (patch) | |
tree | 90ee30a94a7784b6d53a9c1a0c178fb8336687a7 /.gitignore | |
parent | 902560d56bb111bb6b44989a0b3a8bdd36313090 (diff) | |
download | data-service-14419422008cc1ba42dea5ef90e6fb2762633064.tar data-service-14419422008cc1ba42dea5ef90e6fb2762633064.tar.gz |
Hack better NULL support on to (squee)
PQgetvalue used by squee returns null values as empty strings, which are
ambiguous for string fields. Therefore, use PQgetisnull to implement a
serialiser for squee which checks empty strings to see if they're actually a
NULL value, then returns '() in this case.
exec-query-with-null-handling can be used to access this behaviour.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions