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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Inserting bit-type value into integer-type column
Дата
Msg-id 3209.1156856597@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Inserting bit-type value into integer-type column  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-admin
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Dienstag, 29. August 2006 10:32 schrieb Riho Maisa:
>> 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).

The patch would be pretty easy though: just tweak the pg_cast entry for
bit to int casting so that it's "assignment" rather than "explicit".

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Inserting bit-type value into integer-type column
Следующее
От: "Mr. Dan"
Дата:
Сообщение: pgsql.v814 - BLCKSZ