Re: BUG #5490: Using distinct for select list causes insert of timestamp string literal to fail

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: BUG #5490: Using distinct for select list causes insert of timestamp string literal to fail
Дата
Msg-id 4C0C64B3.5080100@postnewspapers.com.au
обсуждение исходный текст
Ответ на BUG #5490: Using distinct for select list causes insert of timestamp string literal to fail  ("Farid Zidan" <farid@zidsoft.com>)
Ответы Re: BUG #5490: Using distinct for select list causes insert of timestamp string literal to fail
Список pgsql-bugs
I know it's not what you want (Pg behaving how you expect out of the
box) but creating implicit casts to the desired types will resolve your
immediate issue. You still have to run some Pg-specific code, but it can
be restricted to your DDL where there's (presumably) already plenty.

See:

http://www.depesz.com/index.php/2008/05/05/error-operator-does-not-exist-integer-text-how-to-fix-it/

http://petereisentraut.blogspot.com/2008/03/readding-implicit-casts-in-postgresql.html

http://wiki.postgresql.org/images/d/d1/Pg83-implicit-casts.sql

--
Craig Ringer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Re: BUG #5490: Using distinct for select list causes insert of timestamp string literal to fail
Следующее
От: Dean Rasheed
Дата:
Сообщение: Invalid YAML output from EXPLAIN