pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: Update PL/pgSQL sample function in plpgsql.sgml.
Date: Thu, 12 Sep 2019 09:09:30 +0000
Message-ID: <E1i8L6Y-0005oo-TZ@gemulon.postgresql.org> (raw)

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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2db5262549efe44f26b24dff6e82f554a60d84e4

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



view thread (7+ messages)  latest in thread

Message-ID: <E1i8L6Y-0005oo-TZ@gemulon.postgresql.org>
Permalink:  ../E1i8L6Y-0005oo-TZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i8L6Y-0005oo-TZ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Doc: Update PL/pgSQL sample function in plpgsql.sgml.
  In-Reply-To: <E1i8L6Y-0005oo-TZ@gemulon.postgresql.org>
  References: <E1i8L6Y-0005oo-TZ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox