X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6CDA7DBA06 for ; Fri, 25 Nov 2005 06:44:21 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77165-01 for ; Fri, 25 Nov 2005 10:44:21 +0000 (GMT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by svr1.postgresql.org (Postfix) with ESMTP id C8E5FD8AAF for ; Fri, 25 Nov 2005 06:44:17 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 38ADE112501C; Fri, 25 Nov 2005 10:44:21 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76121-05; Fri, 25 Nov 2005 10:44:19 +0000 (GMT) Received: by pgfoundry.org (Postfix, from userid 80) id B7191112500B; Fri, 25 Nov 2005 10:44:18 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: =?UTF-8?B?WyBwc3Fsb2RiYy1CdWdzLTEwMDA0MzIgXSBJbmNvbnNpc3RlbnQgUEdBUElfIGRlY2xhcmF0aW9ucw==?= Content-type: text/plain; charset=UTF-8 Message-Id: <20051125104418.B7191112500B@pgfoundry.org> Date: Fri, 25 Nov 2005 10:44:18 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.815 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.075, NO_REAL_NAME=0.55, SUBJECT_EXCESS_BASE64=0, UPPERCASE_25_50=0] X-Spam-Score: -0.815 X-Spam-Level: X-Archive-Number: 200511/223 X-Sequence-Number: 6459 Bugs item #1000432, was opened at 2005-11-19 22:07 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000432&group_id=1000125 Category: None Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Dave Page (dpage) Assigned to: Nobody (None) Summary: Inconsistent PGAPI_ declarations Initial Comment: Some of the internal PGAPI_* functions don't match their definitions. For example, from pgapifunc.h: RETCODE SQL_API PGAPI_BindParameter( HSTMT hstmt, SQLUSMALLINT ipar, SQLSMALLINT fParamType, SQLSMALLINT fCType, SQLSMALLINT fSqlType, SQLUINTEGER cbColDef, SQLSMALLINT ibScale, PTR rgbValue, SQLINTEGER cbValueMax, SQLINTEGER *pcbValue); And from bind.c: PGAPI_BindParameter( HSTMT hstmt, UWORD ipar, SWORD fParamType, SWORD fCType, SWORD fSqlType, UDWORD cbColDef, SWORD ibScale, PTR rgbValue, SDWORD cbValueMax, SDWORD FAR * pcbValue) With some DMs (notably iODBC); typedef long int SDWORD; #if (SIZEOF_LONG == 8) typedef signed int SQLINTEGER; #else typedef signed long SQLINTEGER; #endif The declaration (pgapifunc.h) would appear to be correct. ---------------------------------------------------------------------- >Comment By: Dave Page (dpage) Date: 2005-11-25 10:44 Message: I've committed an update that should clean up all of these. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000432&group_id=1000125