pgsql: doc: Update uses of the word "procedure" - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: doc: Update uses of the word "procedure"
Date
Msg-id E1fsSwo-00061s-V0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
doc: Update uses of the word "procedure"

Historically, the term procedure was used as a synonym for function in
Postgres/PostgreSQL.  Now we have procedures as separate objects from
functions, so we need to clean up the documentation to not mix those
terms.

In particular, mentions of "trigger procedures" are changed to "trigger
functions", and access method "support procedures" are changed to
"support functions".  (The latter already used FUNCTION in the SQL
syntax anyway.)  Also, the terminology in the SPI chapter has been
cleaned up.

A few tests, examples, and code comments are also adjusted to be
consistent with documentation changes, but not everything.

Reported-by: Peter Geoghegan <pg@bowt.ie>
Reviewed-by: Jonathan S. Katz <jonathan.katz@excoventures.com>

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/brin.sgml                        | 52 ++++++++---------
doc/src/sgml/catalogs.sgml                    | 20 +++----
doc/src/sgml/event-trigger.sgml               |  6 +-
doc/src/sgml/func.sgml                        |  2 +-
doc/src/sgml/plhandler.sgml                   |  2 +-
doc/src/sgml/plperl.sgml                      |  2 +-
doc/src/sgml/plpgsql.sgml                     | 34 +++++------
doc/src/sgml/pltcl.sgml                       | 42 +++++++-------
doc/src/sgml/ref/alter_opfamily.sgml          |  4 +-
doc/src/sgml/ref/create_language.sgml         |  2 +-
doc/src/sgml/ref/create_opclass.sgml          |  6 +-
doc/src/sgml/ref/create_operator.sgml         |  8 +--
doc/src/sgml/ref/create_trigger.sgml          |  2 +-
doc/src/sgml/spi.sgml                         | 83 ++++++++++++---------------
doc/src/sgml/xindex.sgml                      |  2 +-
doc/src/sgml/xplang.sgml                      |  4 +-
src/backend/access/gin/ginvalidate.c          |  2 +-
src/backend/access/gist/gistvalidate.c        |  2 +-
src/backend/access/hash/hashutil.c            |  4 +-
src/backend/access/hash/hashvalidate.c        |  4 +-
src/backend/access/spgist/spgvalidate.c       |  2 +-
src/backend/commands/opclasscmds.c            | 30 +++++-----
src/bin/psql/describe.c                       |  2 +-
src/include/access/hash.h                     | 12 ++--
src/test/regress/expected/alter_generic.out   | 16 +++---
src/test/regress/expected/create_operator.out |  6 +-
src/test/regress/sql/create_operator.sql      |  6 +-
27 files changed, 175 insertions(+), 182 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Wrap long line in postgresql.conf.sample.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Clarify some wording in PL/pgSQL about transactions