[ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
От | |
---|---|
Тема | [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size |
Дата | |
Msg-id | 20100604125018.06CD210716BD@pgfoundry.org обсуждение исходный текст |
Список | pgsql-odbc |
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
В списке pgsql-odbc по дате отправления: