Re: SRF called with optional NULL input runs 7x slower

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: SRF called with optional NULL input runs 7x slower
Дата
Msg-id 20070924140025.GA5846@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: SRF called with optional NULL input runs 7x slower  (Ow Mun Heng <Ow.Mun.Heng@wdc.com>)
Список pgsql-general
Ow Mun Heng wrote:
> On Mon, 2007-09-24 at 02:31 -0400, Alvaro Herrera wrote:

> > > it ERRORs w/ could not determine data type of parameter $3
> >
> > Cast it to the correct type.
>
> how do I cast a NULL? Is it Varchar?

I didn't say "pick a random datatype", I said "the correct type", which
in this case means the type "code" has in the function.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Transaction Steps!!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump problem: 'pg_dump: schema with OID 1515546 does not exist'