Re: [GENERAL] ERROR: failed to find conversion function from "unknown" to text

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Re: [GENERAL] ERROR: failed to find conversion function from "unknown" to text
Дата
Msg-id 65937bea0901060538n13099005p62f05ef60ed352bd@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] ERROR: failed to find conversion function from "unknown" to text  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] ERROR: failed to find conversion function from "unknown" to text  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Jan 6, 2009 at 6:31 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> create cast (unknown as text) with function unknown2text( unknown ) as
> implicit;

This is a horrendously bad idea; it will bite your *ss sooner or later,
probably sooner.

                       regards, tom lane

I guessed so, but couldn't figure out exactly how! That's why I have suggested this as a temp solution until we confirmed this with someone more knowledgeable.

Can you please let us know how this would be problematic? And can you suggest a better solution?

Thanks and best regards,
--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB      http://www.enterprisedb.com

Mail sent from my BlackLaptop device

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Some more function-default issues
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCH] ALTER TABLE SET (compress_max_size... = )