Apache OpenOffice (AOO) Bugzilla – Issue 63529
PostgreSQL via ODBC: problem with serial data type
Last modified: 2006-09-06 11:46:16 UTC
OOo 2.0.1, running on Windows 2000 SP4 ASPLinux 9 (Ural) with PostgreSQL 7.3.2, via psqlodbc-08_01_0200 OOo works incorrectly with "serial" pseudo-datatype. It drops error during database edit (upon inserting new record): ERROR: pg_atoi: zero-length string It seems that OOo tries to fill "serial" field while it should not. SDBC driver does not have such problem. PS. This issue might be related to Issue 3872. However i3872 is RESOLVED FIXED with target "OOo later". Can somebody clarify this?
clu->pmike: may you write, what is unclear for you (the target itselve or why this target in this special case)?
Well, the state of Issue 3872 is unclear for me (RESOLVED FIXED to "OOo Later" - is 3872 abandoned?). That issue described similar problem (PostgreSQL, problem with "serial" data type). But, since 3872 is closed, *and* problem still exists, I've filed this (63529) issue.
clu->pmike: issue 3872 has a master called: 'jbu' and is still open - fixed with target 'oo later' could mean, that he has fixed the problem, but the fix is not important enough or dangerous etc. to came in one of the next cws (but maybe it is only mistaken by jbu) - feel free to ask jbu what the state of the issue is (in such neverending stories it make sense to demend the current state if 'nothing happens') thx
so this seems to be a duplicate *** This issue has been marked as a duplicate of 3872 ***
=> close do not hestitate to reopen this issue if still exist after the fix of the duplicate thx
I have installed the postgres jdbc0.7.2 and I have connected to my database using base sucessfully. I have tried setting my serial (autoincrement) field in postgres to allow null values so ooo base can insert the record and postgres to add the serial field. However my serial field is the primary key and there is no other field that can could be a natural pk in the table, ooo base will not allow me to add records to a table with no primary key. ps. using ooo and postgres on win Rgds Ben