X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 50331475425 for ; Sat, 8 Feb 2003 12:16:33 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 9BB234753A1 for ; Sat, 8 Feb 2003 12:16:32 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h18HGZ5u017749; Sat, 8 Feb 2003 12:16:35 -0500 (EST) To: Oliver Elphick Cc: pgsql-odbc@postgresql.org Subject: Re: ConnInfo assumes signed char In-reply-to: <1044641597.6898.141.camel@linda.lfix.co.uk> References: <1044641597.6898.141.camel@linda.lfix.co.uk> Comments: In-reply-to Oliver Elphick message dated "07 Feb 2003 18:13:17 +0000" Date: Sat, 08 Feb 2003 12:16:35 -0500 Message-ID: <17748.1044724595@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/43 X-Sequence-Number: 2661 Oliver Elphick writes: > ConnInfo, defined in connection.h, assumes that char = signed char. I agree, this is a genuine bug. It appears to have been introduced post-7.2, as the ODBC sources in the REL7_2 branch don't seem to try to assign negative values to these fields. regards, tom lane