X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 504B79FB1FC for ; Tue, 29 Aug 2006 05:44:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 78678-07 for ; Tue, 29 Aug 2006 08:44:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from gauss.credativ.com (ipx11302.ipxserver.de [212.112.227.254]) by postgresql.org (Postfix) with ESMTP id 9E0B29FB1EE for ; Tue, 29 Aug 2006 05:44:40 -0300 (ADT) Received: from bell.credativ.de (p508959B7.dip.t-dialin.net [80.137.89.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id A850BD792B; Tue, 29 Aug 2006 10:44:38 +0200 (CEST) From: Peter Eisentraut To: pgsql-admin@postgresql.org Subject: Re: Inserting bit-type value into integer-type column Date: Tue, 29 Aug 2006 10:44:29 +0200 User-Agent: KMail/1.9.3 Cc: "Riho Maisa" References: <00ec01c6cb45$ae19dbb0$6607a8c0@Maisa> In-Reply-To: <00ec01c6cb45$ae19dbb0$6607a8c0@Maisa> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608291044.31542.peter_e@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/313 X-Sequence-Number: 22856 Am Dienstag, 29. August 2006 10:32 schrieb Riho Maisa: > The anomaly for me: in 7.2 it works, but in 7.4 it doesn't. 7.2 was wrong to accept such things; 7.4 fixed it. > I cannot rewrite SQL INSERT because it's in compiled application. Either fix your application or patch the PostgreSQL server or stick with 7.2 (not recommended, because 7.2 is not maintained anymore). -- Peter Eisentraut http://developer.postgresql.org/~petere/