[unixODBC-support] Re: Postgres 7.2 SQL_C_DOUBLE

Roger M Strandberg / Unisoft roger.strandberg at unisoft.se
Thu Aug 12 06:02:16 BST 2004


I have more info now.

If i only run float8, and nothing else, then i some times get it to run.

I don't change any thing then it run, i recompile it, the it don't work.
I just add ar line att begining and takes it away.

Could all this have somthing with g++ ?

I'm running FreeBSD 4.7

I tested it on a 4.9 but then i got "Broken Pipe".

Any one have those problems before?
/R

  ----- Original Message ----- 
  From: Roger M Strandberg / Unisoft 
  To: Support for the unixODBC project 
  Sent: Thursday, August 12, 2004 6:20 AM
  Subject: [unixODBC-support] Re: Postgres 7.2 SQL_C_DOUBLE 


  More info:

  -bash-2.05b$ ./test_bigint
  error: unable to fetch data
  RecNumber:1
  SQLSTATE:07006
  NativeErrorptr:14
  MessageText:[unixODBC]Received an unsupported type from Postgres.
  RecNumber:2
  SQLSTATE:00000
  NativeErrorptr:14
  MessageText:[unixODBC]Received an unsupported type from Postgres.


  Any one????

  /R

    ----- Original Message ----- 
    From: Roger M Strandberg / Unisoft 
    To: Support for the unixODBC project 
    Sent: Thursday, August 12, 2004 5:51 AM
    Subject: Postgres 7.2 SQL_C_DOUBLE 


    Hello

    I have a problem to bind and fetch SQL_C_DOUBLE from a database.

    I have this table
    CREATE TABLE "test" (
            "test_long" bigint,
            "test_int" integer,
            "test_float" double precision
    );

    int and bigint goes just fine, but when i come to SQL_C_DOUBLE then the SQL_Fetch gives SQL_ERROR

    How should i found out whats wrong?

    /Roger


------------------------------------------------------------------------------


  _______________________________________________
  unixODBC-support mailing list
  unixODBC-support at mail.easysoft.com
  http://mail.easysoft.com/mailman/listinfo/unixodbc-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20040812/5390e866/attachment.html>


More information about the unixODBC-support mailing list