Update for sample PL/PgSQL function (section 40.6.4)

Поиск
Список
Период
Сортировка
От Ian Lawrence Barwick
Тема Update for sample PL/PgSQL function (section 40.6.4)
Дата
Msg-id CAB8KJ=hG2PMGpO4sPe_MoLzCAOH3jCrGS8oY6KQoPekXV+3HoA@mail.gmail.com
обсуждение исходный текст
Список pgsql-docs
In the PL/PgSQL documentation, section "40.6.4. Looping Through Query
Results" [1]
contains a sample function which refreshes pseudo-materialized views. As 9.3 has
proper materialized views, I thought it could do with updating. There
was also an erroneous
"%s" in a RAISE NOTICE, and I've tweaked the function definition a bit
to increase its
usefulness as a sample.

[1]
http://www.postgresql.org/docs/devel/static/plpgsql-control-structures.html#PLPGSQL-RECORDS-ITERATING

Regards

Ian Barwick

Вложения

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: A user report of misinterpretation of 'unsupported versions'
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] BUG #7722: extract(epoch from age(...)) appears to be broken