Re: simple function index question

Поиск
Список
Период
Сортировка
От Rosser Schwarz
Тема Re: simple function index question
Дата
Msg-id CAFnxYwjm3BjTy6pLxL3DNSrovxbqAU5wVPzyp-JjfOc7Bv2DTw@mail.gmail.com
обсуждение исходный текст
Ответ на simple function index question  (Michael Moore <michaeljmoore@gmail.com>)
Ответы Re: simple function index question  (Michael Moore <michaeljmoore@gmail.com>)
Список pgsql-sql
On Tuesday, March 22, 2016, Michael Moore <michaeljmoore@gmail.com> wrote:
ERROR: column "" has pseudo-type record

Just guessing, and don't have time to verify, but you might try casting the null value in the WHEN clause to the same type as the question_set_dir_map_key column in the ELSE clause. 

I'd probably also try doing this with two separate indexes; this feels a bit like it might asking the one index to do too much. 
 



--
:wq

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: simple function index question
Следующее
От: Igor Neyman
Дата:
Сообщение: Re: simple function index question