pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
URGENT Numeric values disappear
5+ messages / 3 participants
[nested] [flat]

* URGENT Numeric values disappear
@ 2007-04-23 21:47 Sean Murphy <Sean.Murphy@equipoint.com>
  2007-04-24 02:40 ` Re: URGENT Numeric values disappear Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 5+ messages in thread

From: Sean Murphy @ 2007-04-23 21:47 UTC (permalink / raw)
  To: pgsql-odbc

Over the last several weeks I've moved from an 8.2.0 server on Win32 to
an 8.2.3 server on Ubuntu 6.06 LTS. In the course of doing so I started
distributing psqlodbc 8.02.0300 with a couple of VB6 desktop user
applications, connecting using SSL and ADO.

Everything was going fine, or so I thought until a user pointed out
(apparently) missing data - a bunch of zeroes where various numeric(x,y)
values belonged. Lo and behold, every numeric value selected over ODBC
is returning zero.

If I cast numeric as double or varchar it returns the correct data. I
tried reverting to earlier versions of psqlodbc - the data returns
correctly but the app crashes hard on inserts with a corresponding
server log saying "SSL SYSCALL error - unexpected EOF on client connection"

I have WAY too many numeric fields to cast them all, and they all worked
previously.

What's going on?

8.2.3 built from source on Ubuntu 6.06 server with openSSL 0.98e.
Clients connect via psqlodbc35w.dll, 8.02.0300, SSL on
Client application VB6 with ADO 2.8

Datasource:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\notgonnasay]
"AB"="0"
"BI"="0"
"BoolsAsChar"="1"
"ByteaAsLongVarBinary"="0"
"CancelAsFreeStmt"="0"
"CommLog"="0"
"ConnSettings"=""
"Database"="notgonnatell"
"Debug"="0"
"Description"=""
"DisallowPremature"="0"
"Driver"="psqlodbc35w.dll"
"ExtraSysTablePrefixes"="dd_;"
"FakeOidIndex"="0"
"Fetch"="500"
"Ksqo"="1"
"LFConversion"="1"
"LowerCaseIdentifier"="0"
"MaxLongVarcharSize"="8190"
"MaxVarcharSize"="254"
"Optimizer"="1"
"Parse"="0"
"Port"="5432"
"Password"=""
"Protocol"="7.4--1"
"ReadOnly"="0"
"SSLmode"="require"
"TextAsLongVarchar"="1"
"TrueIsMinus1"="0"
"UniqueIndex"="1"
"UnknownsAsLongVarchar"="0"
"UnknownSizes"="0"
"UpdatableCursors"="1"
"UseDeclareFetch"="0"
"Username"="radius_corp"
"UseServerSidePrepare"="0"
"XaOpt"="1"
"RowVersioning"="0"
"Servername"="neveryoumind.net"
"ShowOidColumn"="0"
"ShowSystemTables"="0"



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: URGENT Numeric values disappear
  2007-04-23 21:47 URGENT Numeric values disappear Sean Murphy <Sean.Murphy@equipoint.com>
@ 2007-04-24 02:40 ` Hiroshi Inoue <inoue@tpf.co.jp>
  2007-04-25 14:14   ` Re: URGENT Numeric values disappear Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 5+ messages in thread

From: Hiroshi Inoue @ 2007-04-24 02:40 UTC (permalink / raw)
  To: Sean Murphy <Sean.Murphy@equipoint.com>; +Cc: pgsql-odbc

Sean Murphy さんは書きました:
> Over the last several weeks I've moved from an 8.2.0 server on Win32 to
> an 8.2.3 server on Ubuntu 6.06 LTS. In the course of doing so I started
> distributing psqlodbc 8.02.0300 with a couple of VB6 desktop user
> applications, connecting using SSL and ADO.
> 
> Everything was going fine, or so I thought until a user pointed out
> (apparently) missing data - a bunch of zeroes where various numeric(x,y)
> values belonged. Lo and behold, every numeric value selected over ODBC
> is returning zero.
> 
> If I cast numeric as double or varchar it returns the correct data. I
> tried reverting to earlier versions of psqlodbc - the data returns
> correctly but the app crashes hard on inserts with a corresponding
> server log saying "SSL SYSCALL error - unexpected EOF on client connection"
> 
> I have WAY too many numeric fields to cast them all, and they all worked
> previously.
> 
> What's going on?

Please try the snapshot driver at
  http://www.geocities.jp/inocchichichi/index.html
?

regards,
Hiroshi Inoue




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: URGENT Numeric values disappear
  2007-04-23 21:47 URGENT Numeric values disappear Sean Murphy <Sean.Murphy@equipoint.com>
  2007-04-24 02:40 ` Re: URGENT Numeric values disappear Hiroshi Inoue <inoue@tpf.co.jp>
@ 2007-04-25 14:14   ` Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 5+ messages in thread

From: Hiroshi Inoue @ 2007-04-25 14:14 UTC (permalink / raw)
  To: Sean Murphy <Sean.Murphy@equipoint.com>; +Cc: pgsql-odbc

Hiroshi Inoue wrote:
> Sean Murphy wrote:
>> Over the last several weeks I've moved from an 8.2.0 server on Win32 to
>> an 8.2.3 server on Ubuntu 6.06 LTS. In the course of doing so I started
>> distributing psqlodbc 8.02.0300 with a couple of VB6 desktop user
>> applications, connecting using SSL and ADO.
>>
>> Everything was going fine, or so I thought until a user pointed out
>> (apparently) missing data - a bunch of zeroes where various numeric(x,y)
>> values belonged. Lo and behold, every numeric value selected over ODBC
>> is returning zero.
>>
>> If I cast numeric as double or varchar it returns the correct data. I
>> tried reverting to earlier versions of psqlodbc - the data returns
>> correctly but the app crashes hard on inserts with a corresponding
>> server log saying "SSL SYSCALL error - unexpected EOF on client connection"
>>
>> I have WAY too many numeric fields to cast them all, and they all worked
>> previously.
>>
>> What's going on?
> 
> Please try the snapshot driver at
>   http://www.geocities.jp/inocchichichi/index.html

Oops the right URL is
  http://www.geocities.jp/inocchichichi/psqlodbc/index.html .

regards,
Hiroshi Inoue



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* URGENT Numeric values disappear
@ 2007-04-25 09:43 KJ <kjatwork@gmx.net>
  2007-04-25 13:53 ` Re: URGENT Numeric values disappear Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 5+ messages in thread

From: KJ @ 2007-04-25 09:43 UTC (permalink / raw)
  To: pgsql-odbc; +Cc: Sean.Murphy@equipoint.com

I've encountered the same problem (see http://archives.postgresql.org/pgsql-bugs/2007-04/msg00142.php)

Regards KJ

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: URGENT Numeric values disappear
  2007-04-25 09:43 URGENT Numeric values disappear KJ <kjatwork@gmx.net>
@ 2007-04-25 13:53 ` Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 5+ messages in thread

From: Hiroshi Inoue @ 2007-04-25 13:53 UTC (permalink / raw)
  To: KJ <kjatwork@gmx.net>; +Cc: pgsql-odbc

KJ wrote:
> I've encountered the same problem (see http://archives.postgresql.org/pgsql-bugs/2007-04/msg00142.php)

Seems my mistake.
Please try the snapshot driver at
  http://www.geocities.jp/inocchichichi/index.html
.

regards,
Hiroshi Inoue



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2007-04-25 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-04-23 21:47 URGENT Numeric values disappear Sean Murphy <Sean.Murphy@equipoint.com>
2007-04-24 02:40 ` Hiroshi Inoue <inoue@tpf.co.jp>
2007-04-25 14:14   ` Hiroshi Inoue <inoue@tpf.co.jp>
2007-04-25 09:43 URGENT Numeric values disappear KJ <kjatwork@gmx.net>
2007-04-25 13:53 ` Hiroshi Inoue <inoue@tpf.co.jp>

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