Fixed a bug reading empty strings from Postgres databases.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 8 Mar 2009 01:47:48 +0000 (10:47 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 8 Mar 2009 01:47:48 +0000 (10:47 +0900)
commit18e5609ea65b59f38fcd681f8555775f2e5b7ccd
treeecfd4de71a22ee7fdfce6ac252259357998e0d10
parent849f1db3053e27a2879542ffebddb55909ce26ae
Fixed a bug reading empty strings from Postgres databases.

Fixed a bug in the Postgresql import feature, where a segfault
would occur when a reading a database which contained string
fields with only null, or zero length values.

Thanks to Joerg Schmengle for reporting this.
src/data/psql-reader.c
tests/command/get-data-psql.sh