Re: Crosstab Problems

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Crosstab Problems
Дата
Msg-id 4717A807.1030209@joeconway.com
обсуждение исходный текст
Ответ на Re: Crosstab Problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Crosstab Problems  (Jorge Godoy <jgodoy@gmail.com>)
Список pgsql-general
Tom Lane wrote:
> so it's trying to pstrdup a null result from SPI_getvalue.
>
> Obviously it shouldn't crash, but I'm not sure what it *should* do in
> this case.  Joe?

The row is pretty useless without a rowid in this context -- it seems
like the best thing to do would be to skip those rows entirely. Of
course you could argue I suppose that it ought to throw an ERROR and
bail out entirely. Maybe a good compromise would be to skip the row but
throw a NOTICE?

Joe


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

Предыдущее
От: Lothar Behrens
Дата:
Сообщение: Re: Am I overseen ?
Следующее
От: Steve Crawford
Дата:
Сообщение: Abbreviation list