Re: PL/pgSQL 2

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: PL/pgSQL 2
Дата
Msg-id 54088B47.6040005@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL 2  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: PL/pgSQL 2  (Marko Tiikkaja <marko@joh.to>)
Re: PL/pgSQL 2  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 09/04/2014 02:48 AM, Robert Haas wrote:
> To take another example, I've been complaining about the fact
> that PostgreSQL 8.3+ requires far more typecasts in stored procedures
> than any other database I'm aware of for years, probably since before
> I joined EnterpriseDB.

+10

This still drives me nuts, and it's a serious problem for ORM users too.

The idea that we won't accept a 'text' typed input for an 'xml' or
'json' field is IMO absurdly and needlessly pedantic. I've not yet seen
an argument for what problems this solves.

I know why the changes in 8.3 were made, and they're clearly beneficial
overall, but we need to start putting some more implicit casts from text
to text-like types in, especially where there's no SQL-standard type
that users of JDBC etc can easily use in mappings.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: PL/pgSQL 1.2
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Join push-down support for foreign tables