Re: Create Produre for DROP row

Поиск
Список
Период
Сортировка
От Marcos
Тема Re: Create Produre for DROP row
Дата
Msg-id 1137764312.1009.12.camel@servidor
обсуждение исходный текст
Ответ на Re: Create Produre for DROP row  (Jaime Casanova <systemguards@gmail.com>)
Список pgsql-general
> BEGIN
>
>      DELETE FROM .....
>
> EXCEPTION
>        WHEN others THEN
>                   ...........
> END;
>
> documentation:
> http://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING
>
> a list of errors:
> http://www.postgresql.org/docs/current/static/errcodes-appendix.html
>
> --
> regards,

Thanks.

When I use the EXCEPTION and I return a value numeric or text the
Postgresql shows a error of encoding :(... Invalid Encoding UTF-8 at...

This error only occurs when a EXCEPTION treated by me it's raised.

My database is in UTF8 encoding.

What's happen?

E.g:


EXCEPTION
      WHEN others THEN RETURN 'Error';

Marcos.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Creation of tsearch2 index is very slow
Следующее
От: DANTE ALEXANDRA
Дата:
Сообщение: Re: Initdb panic: invalid record offset at 0/0 creating