Re: BUG #1643: dbf2pg broken + quick fix

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Boris van Schooten <schooten(at)cs(dot)utwente(dot)nl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1643: dbf2pg broken + quick fix
Date: 2005-05-04 02:55:18
Message-ID: 13952.1115175318@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Boris van Schooten <schooten(at)cs(dot)utwente(dot)nl> writes:
> See the spec.

> http://www.dbase.com/KnowledgeBase/int/db7_file_fmt.htm

Thanks for the link. As far as can be told from this, dbase hasn't got
nulls at all -- is that correct, or are they just omitting a ton of
relevant information?

It looks to me like we should just remove the special case for integer
fields altogether. The special case for date fields is wrong in detail
as well: as coded it will accept "date" fields with a leading sign,
which surely is not intentional.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Seamus Dean 2005-05-04 06:10:46 BUG #1645: Auto complete SQL "COPY" have problems.
Previous Message Tom Lane 2005-05-04 02:48:29 Re: BUG #1644: control structeres perfomance in pgsql