pgsql: doc: Update uses of the word "procedure"

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Update uses of the word "procedure"
Date: 2018-08-22 13:13:18
Message-ID: E1fsSwo-00061s-V0@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)bowt(dot)ie>
Reviewed-by: Jonathan S. Katz <jonathan(dot)katz(at)excoventures(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-08-22 13:45:45 pgsql: doc: Clarify some wording in PL/pgSQL about transactions
Previous Message Thomas Munro 2018-08-22 09:37:46 pgsql: Wrap long line in postgresql.conf.sample.