Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the
Дата
Msg-id 6C3D5C78-8CF6-4691-B0F2-D63AD7C29CA2@kineticode.com
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Aug 19, 2010, at 8:08 AM, Robert Haas wrote:

>> Another possibility is for EXECUTE USING to coerce any unknowns to TEXT
>> before it calls the parser at all.  This would square with the typical
>> default assumption for unknown literals, and it would avoid having to
>> have any semantics changes below the SPI call.
> 
> That seems more intuitive than just chucking an error.

It'd be nice if SPI itself could work this way for UNKNOWNs, too.

Best,

David



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: refactoring comment.c
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!