Re: Inserting bit-type value into integer-type column

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Cc: "Riho Maisa" <riho(at)centrum(dot)ee>
Subject: Re: Inserting bit-type value into integer-type column
Date: 2006-08-29 08:44:29
Message-ID: 200608291044.31542.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-08-29 13:03:17 Re: Inserting bit-type value into integer-type column
Previous Message Riho Maisa 2006-08-29 08:32:35 Inserting bit-type value into integer-type column