pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: goutham <jgowtham@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5429: Driver issue
Date: Mon, 19 Apr 2010 02:38:49 GMT
Message-ID: <201004190238.o3J2cnoB082767@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      5429
Logged by:          goutham
Email address:      jgowtham@gmail.com
PostgreSQL version: 8.1.9
Operating system:   Windows
Description:        Driver issue
Details: 

I am using Driver = PostgreSQL UNICODE.
I am retrieving the dataset using this connection string.

I am using .Net application.
when i try to user OdbcDataAdapter and fill the dataset its failing.

code snippet: 
OdbcDataAdapter odbcAdapt = new OdbcDataAdapter("Select * from
table1;"+"Select * from Table2", connection);

odbcAdapt.Fill(dataset);

dataSet.Count is 0.

If I use Driver = postgres instead of Postgres Unicode. this is working.




DRIVER={PostgreSQL
UNICODE};UID=postgres;PASSWORD=password;UseServerSidePrepare=0;ByteaAsLongVa
rBinary=0;BI=0;TrueIsMinus1=0;DisallowPremature=0;Upd

atableCursors=1;pga_;;LFConversion=1;ExtraSysTablePrefixes=dd_;CancelAsFreeS
tmt=0;Parse=0;UnknownsAsLongVarchar=0;TextAsLongVarch

ar=1;BoolsAsChar=0;UseDeclareFetch=0;Ksqo=0;Optimizer=0;CommLog=0;Debug=0;Ma
xLongVarcharSize=8190;MaxVarcharSize=254;UnknownSizes

=0;Socket=4096;Fetch=100;ConnSettings=;ShowSystemTables=0;RowVersioning=0;Sh
owOidColumn=0;FakeOidIndex=0;Protocol=6.4;Rea;Only=0;

PORT=5433;SERVER=localhost;DATABASE=TESTDB



view thread (4+ messages)  latest in thread

Message-ID: <201004190238.o3J2cnoB082767@wwwmaster.postgresql.org>
Permalink:  ../201004190238.o3J2cnoB082767@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201004190238.o3J2cnoB082767@wwwmaster.postgresql.org

 · 

reply

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: jgowtham@gmail.com, pgsql-bugs@postgresql.org
  Subject: Re: BUG #5429: Driver issue
  In-Reply-To: <201004190238.o3J2cnoB082767@wwwmaster.postgresql.org>
  References: <201004190238.o3J2cnoB082767@wwwmaster.postgresql.org>

* 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