pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: [INTERFACES] ODBC Driver v06-40-0005
5+ messages / 4 participants
[nested] [flat]
* Re: [INTERFACES] ODBC Driver v06-40-0005
@ 1999-04-09 14:19 ` Sergio <ser@perio.unlp.edu.ar>
1 sibling, 0 replies; 5+ messages in thread
From: Sergio @ 1999-04-09 14:19 UTC (permalink / raw)
To: pgsql-interfaces
Byron Nikolaidis <byronn@insightdist.com> el día Thu, 08 Apr 1999 22:44:14
-0400, escribió:
>Hi everyone,
>
>A new version is available that fixes a couple of bugs, I hope -- Its
>been a while and I feel a bit rusty :-)
thanks Byron, for the 8k fix ;)
Sergio
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [INTERFACES] ODBC Driver v06-40-0005
@ 1999-04-09 22:46 ` Byron Nikolaidis <byronn@insightdist.com>
1 sibling, 0 replies; 5+ messages in thread
From: Byron Nikolaidis @ 1999-04-09 22:46 UTC (permalink / raw)
To: Sam@OConnor.net; +Cc: pgsql-interfaces
Sam O'Connor wrote:
> Hi,
> I think I found another problem.
> When selecting type text from tclodbc using pgodbc and postgres I was
> loosing
> one character off the start of the string for every newline in
> contained.
> When copy_and_conver_field processes selected text fields it converts cr
> to cr/lf. (why?)
>
Actually, its LF to CR/LF when going from the database to odbc. When going the
other way (odbc->database), it converts CR/LF to LF. The reason is for
Microsoft from what I remember. It might have even been in the odbc spec (I
can't quite remember). It probably shouldn't do it if its being run on Unix
though?
> When data_left is set how ever it uses the original length.
>
> I changed this:
> stmt->bindings[stmt->current_col].data_left = strlen(value);
> To this:
> stmt->bindings[stmt->current_col].data_left = strlen(ptr);
>
> Now it works!
>
Good Job, you found a bug alright! It should be strlen(ptr). When I tested
it, I didn't have newlines so it worked ok.
I'll put it in for the next release.
Byron
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [INTERFACES] ODBC Driver v06-40-0005
@ 1999-04-10 01:08 Ken J. Wright <ken@ori-ind.com>
0 siblings, 0 replies; 5+ messages in thread
From: Ken J. Wright @ 1999-04-10 01:08 UTC (permalink / raw)
To: Mikhail Romanenko <angg@vng.ru>; +Cc: pgsql-interfaces
http://www.insightdist.com/download will get you there
At 06:48 AM 4/10/99 +0500, you wrote:
>09.04.99 Byron wrote:
>
>>Hi everyone,
>>
>>A new version is available that fixes a couple of bugs, I hope -- Its
>>been a while and I feel a bit rusty :-)
>>
>>Byron
>>
> Where can I get it from. While trying to connect to
>http://www.insightdist.com/postodbc I got a message, the URL is wrong.
>
>Mikhail.
>
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* [INTERFACES] ODBC Driver v06-40-0005
@ 1999-04-10 01:48 Mikhail Romanenko <angg@vng.ru>
1999-04-10 22:39 ` Re: [INTERFACES] ODBC Driver v06-40-0005 Byron Nikolaidis <byronn@insightdist.com>
0 siblings, 1 reply; 5+ messages in thread
From: Mikhail Romanenko @ 1999-04-10 01:48 UTC (permalink / raw)
To: pgsql-interfaces
09.04.99 Byron wrote:
>Hi everyone,
>
>A new version is available that fixes a couple of bugs, I hope -- Its
>been a while and I feel a bit rusty :-)
>
>Byron
>
Where can I get it from. While trying to connect to
http://www.insightdist.com/postodbc I got a message, the URL is wrong.
Mikhail.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [INTERFACES] ODBC Driver v06-40-0005
1999-04-10 01:48 [INTERFACES] ODBC Driver v06-40-0005 Mikhail Romanenko <angg@vng.ru>
@ 1999-04-10 22:39 ` Byron Nikolaidis <byronn@insightdist.com>
0 siblings, 0 replies; 5+ messages in thread
From: Byron Nikolaidis @ 1999-04-10 22:39 UTC (permalink / raw)
To: Mikhail Romanenko <angg@vng.ru>; +Cc: pgsql-interfaces
Mikhail Romanenko wrote:
> 09.04.99 Byron wrote:
>
> >Hi everyone,
> >
> >A new version is available that fixes a couple of bugs, I hope -- Its
> >been a while and I feel a bit rusty :-)
> >
> >Byron
> >
> Where can I get it from. While trying to connect to
> http://www.insightdist.com/postodbc I got a message, the URL is wrong.
>
> Mikhail.
Its http://www.insightdist.com/psqlodbc/
Byron
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~1999-04-10 22:39 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-04-09 14:19 ` Sergio <ser@perio.unlp.edu.ar>
1999-04-09 22:46 ` Byron Nikolaidis <byronn@insightdist.com>
1999-04-10 01:08 Re: [INTERFACES] ODBC Driver v06-40-0005 Ken J. Wright <ken@ori-ind.com>
1999-04-10 01:48 [INTERFACES] ODBC Driver v06-40-0005 Mikhail Romanenko <angg@vng.ru>
1999-04-10 22:39 ` Byron Nikolaidis <byronn@insightdist.com>
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