Re: pl/perl example in the doc no longer works in 9.1

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: pl/perl example in the doc no longer works in 9.1
Дата
Msg-id AEC30EC5-C76D-4D8C-A6E8-55E887C4575D@kineticode.com
обсуждение исходный текст
Ответ на Re: pl/perl example in the doc no longer works in 9.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pl/perl example in the doc no longer works in 9.1
Список pgsql-hackers
On Oct 12, 2011, at 9:15 AM, Tom Lane wrote:

> Well, the real question is why a function declared to return VOID cares
> at all about what the last command in its body is.  If this has changed
> since previous versions then I think it's a bug and we should fix it,
> not just change the example.

It has indeed changed, either in 9.0 or 9.1 (the latter, I think). I had to add a bunch of bare return statements to
existingfunctions. 

Best,

David



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pl/perl example in the doc no longer works in 9.1
Следующее
От: Robert Haas
Дата:
Сообщение: Re: COUNT(*) and index-only scans