Re: character varying as boolean !!! help

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: character varying as boolean !!! help
Дата
Msg-id 20050113125413.GB23993@dcc.uchile.cl
обсуждение исходный текст
Ответ на character varying as boolean !!! help  ("Francesco Andreozzi" <francesco.andreozzi@proxime.it>)
Список pgsql-bugs
On Thu, Jan 13, 2005 at 12:18:12PM +0100, Francesco Andreozzi wrote:

Hi,

>                                       Tabella "public.cfp"
>      Colonna      |       Tipo        |                       Modificatori
> ------------------+-------------------+----------------------------------------------------------
>  cod_cfp          | integer           | not null default
> nextval('public.cfp_cod_cfp_seq'::text)
>  cod_procedimento | bigint            |
>  testo            | character varying |
>
>
> if I try to insert something it works.... but the update no....
>
> sportellounico=# UPDATE cfp SET testo='test' AND cod_procedimento='82' where
> cod_cfp='2';
> ERROR:  invalid input syntax for type boolean: "test"

Do you have any trigger or rule on this table?

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
Oh, oh, las chicas galacianas, lo harán por las perlas,
¡Y las de Arrakis por el agua! Pero si buscas damas
Que se consuman como llamas, ¡Prueba una hija de Caladan! (Gurney Halleck)

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

Предыдущее
От: laurie.burrow@powerconv.alstom.com
Дата:
Сообщение: Possible problem with pg_get_viewdef on Postgres V8.0.0 rc4
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: character varying as boolean !!! help