Re: error tryiing to insert with collate

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: error tryiing to insert with collate
Дата
Msg-id CAA-aLv51H5K8Y2YaN5GWn50JsuH+hq-RYKJ2Kdg3JCk8Ei897w@mail.gmail.com
обсуждение исходный текст
Ответ на error tryiing to insert with collate  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Ответы Re: error tryiing to insert with collate  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Список pgsql-novice
On 2 January 2012 15:06, Jean-Yves F. Barbier <12ukwn@gmail.com> wrote:
> Hi list,
>
> Original collation srv+clis = fr_FR.utf8
>
> I'm trying to insert as:
> INSERT INTO tst1m VALUES ( default,
>        'źŠÿǚŦÍÏÔJŽććżûŘäpèăîÍŢŃDµŴŻĊĜÿG' COLLATE "hu_HU.utf8",
>        'úĽčŏṻŗĿÁťħĵŇğŚáÛĨæħŽīhĴÝUĶďeźİīŇč' COLLATE "hu_HU.utf8" );
>
> and get: ERROR:  unsupported node type: 325
>
> hu_HU.utf8 is installed - so is this operation impossible
> and collate only reserved to select statements?

I suspect you have char or varchar fields you're inserting those text
values into that are smaller than the values you're attempting to
insert into them.  In any case, it's not a helpful error you've been
given back so that should be improved.

What do you get if you perform the exact same INSERT without the COLLATE parts?

--
Thom

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

Предыдущее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: error tryiing to insert with collate
Следующее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: Re: error tryiing to insert with collate