Re: Error of text2ltree

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error of text2ltree
Дата
Msg-id 19086.1275144419@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Error of text2ltree  (Vu Hong Thuan <thuanvh@gmail.com>)
Список pgsql-general
Vu Hong Thuan <thuanvh@gmail.com> writes:
> I can't use text2ltree. Any suggestion? Thanks.
> SELECT text2ltree('abc'). It's okay. But, got error if:

> SELECT text2ltree(to_char(243, '09999999'))

> ******** Error ******

> ERROR: syntax error at position 0 SQL state: 42601

I think ltree doesn't allow spaces in the input.

            regards, tom lane

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

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: [GENERAL] hi,for help!
Следующее
От: erobles
Дата:
Сообщение: Re: there is a way to deactivate type validation on 8.3.1????