From: Matthew Hagerty <matthew@digitalstratum.com>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Error using pgsql-odbc with OpenOffice
Date: Thu, 12 Apr 2007 20:38:05 -0400
Message-ID: <461ED0ED.2040900@digitalstratum.com> (raw)
In-Reply-To: <461E5F81.6050405@tpf.co.jp>
References: <46199430.5050300@digitalstratum.com>
<461E5F81.6050405@tpf.co.jp>
Hiroshi Inoue wrote:
> Matthew Hagerty wrote:
>> Greetings,
>>
>> I'm not sure which component is responsible for this error, but I
>> needed to start somewhere...
>>
>> Versions I'm using:
>>
>> Windows XP sp2
>> OpenOffice 2.2.0
>> PG 8.2.3 (running on FreeBSD 6.2)
>> pgODBC 08.02.0200
>>
>> I've set up a System DSN for my pg database and created a new
>> database with OO, selecting the "connect to an existing database" and
>> selecting the DSN I set up. It prompts me for a un and pw and
>> connects without problems. I can see the list of tables and even
>> create a new table, but when I try to double-click a table to open it
>> for reading or updating, I get this error in a dialog:
>>
>> ---
>> The data content could not be loaded.
>>
>> ERROR: invalid input syntax for type tid: "(,)";
>> Error while executing the query
>
>
> Could you try the snapshot driver at
> http://www.geocities.jp/inocchichichi/psqlodbc/index.html ?
>
>
> regards,
> Hiroshi Inoue
>
>> [OK] [More]
>> ---
>>
>> Clicking "More" gives this additional information:
>>
>> SQL Status: 22P02
>> Error code: 7
>>
>> I tried logging the connection with the driver but did not see the
>> offending query in the logs. A Google search turned up very little
>> other than someone asking about this back in 2004 with little or no
>> resolution. Any insight would be greatly appreciated.
>>
>> Thanks,
>> Matthew
>
Okay, that took care of the "(,)" error, now I'm getting this:
---
SQL Status: 42703
Error code: 7
ERROR: column "oid" does not exist;
Error while executing the query
---
Does not matter if the table exists or if I create a new table (which
does work).
Thanks,
Matthew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: matthew@digitalstratum.com, inoue@tpf.co.jp
Subject: Re: Error using pgsql-odbc with OpenOffice
In-Reply-To: <461ED0ED.2040900@digitalstratum.com>
References: <46199430.5050300@digitalstratum.com> <461E5F81.6050405@tpf.co.jp> <461ED0ED.2040900@digitalstratum.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox