Re: [GENERAL] Error of text2ltree

2010-05-29 Thread Tom Lane
Vu Hong Thuan writes: > I can't use text2ltree. Any suggestion? Thanks. > SELECT text2ltree('abc'). It's okay. But, got error if: > SELECT text2ltree(to_char(243, '0999')) > Error ** > ERROR: syntax error at position 0 SQL state: 42601 I think ltree doesn't allow spaces in the

[GENERAL] Error of text2ltree

2010-05-28 Thread Vu Hong Thuan
I can't use text2ltree. Any suggestion? Thanks. SELECT text2ltree('abc'). It's okay. But, got error if: SELECT text2ltree(to_char(243, '0999')) Error ** ERROR: syntax error at position 0 SQL state: 42601