"Boris van Schooten" <[EMAIL PROTECTED]> writes: > As it turns out, the integer checking code (contrib/dbase/dbf2pg.c, function > isinteger) is broken. It appears the function reports 0 in case it finds a > space in the dbf rather than a digit. I disabled it (always made it return > 1). Now, my dbf files import fine.
Hmm. I know nothing about dbase ... but if the test has any use at all, I guess it must be to handle NULL values. How does dbase represent a NULL? Why is this code only checking this for integer columns? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq