From: Grahame Jordan <gjordan@geicp.com>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC and Boolean
Date: Wed, 10 Jan 2007 21:42:06 +1100
Message-ID: <45A4C2FE.8050001@geicp.com> (raw)
In-Reply-To: <816843.58380.qm@web31812.mail.mud.yahoo.com>
References: <816843.58380.qm@web31812.mail.mud.yahoo.com>
Richard Broersma Jr wrote:
>> I am using postgres8.1 on a Debian etch machine and am trying to port an
>> access database to postgres. I have installed the latest ODBC driver on
>> WinXP (psqlodbc-08_02_0200.zip) and most things work OK.
>>
>> The most problematic are the checkboxes. At first they work OK but after a
>> while when setting a checkbox we get an error that seems to keep on
>> happening.
>>
>> "The field is too small to accept the amount of data you attempted to add. Try
>> inserting or pasting less data"
>>
>> Once it gets in this state it seems to stick. Even tried rebooting.
>> I believe that the query is not getting past the ODBC driver as I can see no
>> activity on the back end.
>>
>
> I used the recommendation from this link and ever since I have not had any problems linking
> boolean fields to checkboxes.
> http://archives.postgresql.org/pgsql-odbc/2006-09/msg00103.php
>
> When I read threads like this, it makes me wish I know postgresql a whole lot better. :)
>
> Regards,
> Richard Broersma Jr.
>
Thanks for that. The problem was that we didn't refresh the tables. All
well now.
Cheers
Grahame
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
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: gjordan@geicp.com, rabroersma@yahoo.com
Subject: Re: ODBC and Boolean
In-Reply-To: <45A4C2FE.8050001@geicp.com>
References: <816843.58380.qm@web31812.mail.mud.yahoo.com> <45A4C2FE.8050001@geicp.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