pgsql: Doc: Update PL/pgSQL sample function in plpgsql.sgml. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Doc: Update PL/pgSQL sample function in plpgsql.sgml.
Date
Msg-id E1i8L6Y-0005om-TZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: Update PL/pgSQL sample function in plpgsql.sgml.

The example used to explain 'Looping Through Query Results' uses
pseudo-materialized views.  Replace it with a more up-to-date example
which does the same thing with actual materialized views, which have
been available since PostgreSQL 9.3.

In the passing, change '%' as format specifier instead of '%s' as is used
in other examples in plpgsql.sgml.

Reported-by: Ian Barwick
Author: Ian Barwick
Reviewed-by: Amit Kapila
Backpatch-through: 9.4
Discussion: https://postgr.es/m/9a70d393-7904-4918-c97c-649f6d114b6a@2ndquadrant.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a477f250a3ea4a3656aabaf196e693e03ffa3e37

Modified Files
--------------
doc/src/sgml/plpgsql.sgml | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add to pageinspect function to make t_infomask/t_infomask2human
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Remove pg_trgm.strict_word_similarity_threshold doc from 9.6and