pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5429: Driver issue
4+ messages / 4 participants
[nested] [flat]

* BUG #5429: Driver issue
@ 2010-04-19 02:38  goutham <jgowtham@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: goutham @ 2010-04-19 02:38 UTC (permalink / raw)
  To: pgsql-bugs@postgresql.org


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



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

* Re: BUG #5429: Driver issue
@ 2010-04-20 15:12  Bruce Momjian <bruce@momjian.us>
  parent: goutham <jgowtham@gmail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Bruce Momjian @ 2010-04-20 15:12 UTC (permalink / raw)
  To: goutham <jgowtham@gmail.com>; +Cc: pgsql-bugs@postgresql.org


This has to be reported to the .Net driver people.

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

goutham wrote:
> 
> 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
> 
> -- 
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com



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

* Re: BUG #5429: Driver issue
@ 2010-04-20 15:24  Dave Page <dpage@pgadmin.org>
  parent: Bruce Momjian <bruce@momjian.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Dave Page @ 2010-04-20 15:24 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: goutham <jgowtham@gmail.com>; pgsql-bugs@postgresql.org; pgsql-odbc

ODBC driver people I think you mean. CC'd.

On Tue, Apr 20, 2010 at 4:12 PM, Bruce Momjian <bruce@momjian.us> wrote:
>
> This has to be reported to the .Net driver people.
>
> ---------------------------------------------------------------------------
>
> goutham wrote:
>>
>> 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
>>
>> --
>> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-bugs
>
> --
>  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
>  EnterpriseDB                             http://enterprisedb.com
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>



-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company



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

* Re: BUG #5429: Driver issue
@ 2010-04-20 15:53  Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  parent: Bruce Momjian <bruce@momjian.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Hiroshi Saito @ 2010-04-20 15:53 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; goutham <jgowtham@gmail.com>; +Cc: pgsql-bugs@postgresql.org

Hi.

Um,  It is a problem report about psqlODBC. 
I'm not sure of what as a result of basing it on a multi-statement, return becomes. 
Therefore,  I had tried the environment to reproduce. Though it is necessary to 
acquire a certain amount of information, the point is not held yet....
Other someone may have an early reply.

Regards,
Hiroshi Saito

----- Original Message ----- 
From: "Bruce Momjian" <bruce@momjian.us>


> 
> This has to be reported to the .Net driver people.
> 
> ---------------------------------------------------------------------------
> 
> goutham wrote:
>> 
>> 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
>> 
>> -- 
>> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-bugs
> 
> -- 
>  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
>  EnterpriseDB                             http://enterprisedb.com
> 
> -- 
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs



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


end of thread, other threads:[~2010-04-20 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-04-19 02:38 BUG #5429: Driver issue goutham <jgowtham@gmail.com>
2010-04-20 15:12 ` Bruce Momjian <bruce@momjian.us>
2010-04-20 15:24   ` Dave Page <dpage@pgadmin.org>
2010-04-20 15:53   ` Hiroshi Saito <z-saito@guitar.ocn.ne.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