pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
10+ messages / 1 participants
[nested] [flat]

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 12:50  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 12:50 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 08:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Nobody (None)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 13:56  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 13:56 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 12:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
>Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 13:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 14:19  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 14:19 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 08:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 09:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 14:21  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 14:21 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 08:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 09:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 14:21  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 14:21 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 08:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 09:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 14:34  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 14:34 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 12:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 14:34

Message:
Could you check the Mylog option of Advanced option page
also and attach the Mylog output?



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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 13:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-04 14:52  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-04 14:52 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 08:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:52

Message:
Attached mylog output from checking mylog option of advanced 
options dialog

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 10:34

Message:
Could you check the Mylog option of Advanced option page
also and attach the Mylog output?



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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 09:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-07 13:03  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-07 13:03 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 12:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-07 13:03

Message:
Thanks.

Could you please try the drivers on testing for 8.4.0201 at
  http://www.geocities.jp/inocchichichi/psqlodbc/index.html
? 

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:52

Message:
Attached mylog output from checking mylog option of advanced 
options dialog

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 14:34

Message:
Could you check the Mylog option of Advanced option page
also and attach the Mylog output?



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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 13:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-06-08 12:53  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-06-08 12:53 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 08:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

>Comment By: Farid Zidan (faridz)
Date: 2010-06-08 08:53

Message:
Verified fix. Passes my testing. Thanks.

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-07 09:03

Message:
Thanks.

Could you please try the drivers on testing for 8.4.0201 at
  http://www.geocities.jp/inocchichichi/psqlodbc/index.html
? 

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:52

Message:
Attached mylog output from checking mylog option of advanced 
options dialog

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 10:34

Message:
Could you check the Mylog option of Advanced option page
also and attach the Mylog output?



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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 10:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 09:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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

* [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
@ 2010-09-24 03:59  noreply@pgfoundry.org
  0 siblings, 0 replies; 10+ messages in thread

From: noreply@pgfoundry.org @ 2010-09-24 03:59 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1010837, was opened at 2010-06-04 12:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary:  2000 is returned instead of actual info for char column octet length and column size

Initial Comment:
SQLColAttribute returns 2000 for both SQL_DESC_OCTET_LENGTH and SQL_DESC_LENGTH for character column instead of actual values.

        rc = SQLColAttribute(hstmt,
                             nCol,
                             SQL_DESC_OCTET_LENGTH,
                             NULL,
                             0,
                             NULL,
                             &pRow->buffer_length);

rc = SQLColAttribute(hstmt,
		 nCol,
		 SQL_DESC_LENGTH,
		 NULL,
		 0,
		 NULL,
		 (SQLLEN*) &pRow->column_size);

Example,
create table test_char (col1 char(8), col2 varchar(128));

I get 2000 for col1 and col2 octet length and column size instead of actual values

I am using the fix driver provided for http://pgfoundry.org/tracker/index.php?func=detail&aid=1010827&group_id=1000125&atid=538


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

Comment By: Farid Zidan (faridz)
Date: 2010-06-08 12:53

Message:
Verified fix. Passes my testing. Thanks.

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-07 13:03

Message:
Thanks.

Could you please try the drivers on testing for 8.4.0201 at
  http://www.geocities.jp/inocchichichi/psqlodbc/index.html
? 

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:52

Message:
Attached mylog output from checking mylog option of advanced 
options dialog

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 14:34

Message:
Could you check the Mylog option of Advanced option page
also and attach the Mylog output?



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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:21

Message:
ODBC DSN options page (2000 is set as Max Varchar)

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

Comment By: Farid Zidan (faridz)
Date: 2010-06-04 14:19

Message:
I am also attaching screenshot of driver options dialog where 
Max Varchar is set to 2000 (coincidence same value?)

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

Comment By: Hiroshi Inoue (hinoue)
Date: 2010-06-04 13:56

Message:
I get 8/16 for col1 and 128/256 for col2 here.
Could you attach the Mylog output?

regards,
Hiroshi Inoue

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010837&group_id=1000125



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


end of thread, other threads:[~2010-09-24 03:59 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-06-04 12:50 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-04 13:56 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-04 14:19 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-04 14:21 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-04 14:21 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-04 14:34 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-04 14:52 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-07 13:03 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-06-08 12:53 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org
2010-09-24 03:59 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size noreply@pgfoundry.org

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