Re: string = any()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: string = any()
Дата
Msg-id 24259.1326211915@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: string = any()  (Andy Colson <andy@squeakycode.net>)
Ответы Re: string = any()  (Andy Colson <andy@squeakycode.net>)
Список pgsql-general
Andy Colson <andy@squeakycode.net> writes:
> This still does not work, even in psql:
> select 'bob' = any( '{''joe'', ''bob'' }'::varchar[] )

You've got the array quoting rules wrong here (should be double quote
marks, not single quotes).  You didn't show us your PHP code but I
surmise that's got the same mistake.  Read the array I/O representation
spec carefully:
http://www.postgresql.org/docs/9.1/static/arrays.html#ARRAYS-IO

            regards, tom lane

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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: string = any()
Следующее
От: Andy Colson
Дата:
Сообщение: Re: string = any()