summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/environ.c
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-03-14 05:42:04 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-03-14 05:42:04 +0000
commit01e322652b14c2aeac1737f29f8bcf9e18d1060e (patch)
tree2793f9c1dcea81f6268e81b777af1c990b74b526 /src/interfaces/odbc/environ.c
parentf362dcec61bc8df8b13d65897aecaaac2ce1b7b0 (diff)
downloadpostgresql-01e322652b14c2aeac1737f29f8bcf9e18d1060e.tar.gz
1) Internal improvements to handle updatable cursors(1st cut).
2) Fix a bug in SQLColAttribute().
Diffstat (limited to 'src/interfaces/odbc/environ.c')
-rw-r--r--src/interfaces/odbc/environ.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/odbc/environ.c b/src/interfaces/odbc/environ.c
index 69718a1914..78737fbb33 100644
--- a/src/interfaces/odbc/environ.c
+++ b/src/interfaces/odbc/environ.c
@@ -245,6 +245,9 @@ PGAPI_StmtError( HSTMT hstmt,
case STMT_INVALID_CURSOR_STATE_ERROR:
strcpy(szSqlState, "24000");
break;
+ case STMT_ERROR_IN_ROW:
+ strcpy(szSqlState, "01S01");
+ break;
case STMT_OPTION_VALUE_CHANGED:
strcpy(szSqlState, "01S02");
break;