]> granicus.if.org Git - postgresql/commit
doc: Update uses of the word "procedure"
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 15 Aug 2018 15:01:39 +0000 (17:01 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 22 Aug 2018 12:44:49 +0000 (14:44 +0200)
commitb19495772e48ecd32de9a906ddf8c25e16007575
treef10d7f67307f654613adcf032546b3d52c0ed75a
parentaf63926cf577f4c30e43b7651e93e3a5eaa262e0
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>
27 files changed:
doc/src/sgml/brin.sgml
doc/src/sgml/catalogs.sgml
doc/src/sgml/event-trigger.sgml
doc/src/sgml/func.sgml
doc/src/sgml/plhandler.sgml
doc/src/sgml/plperl.sgml
doc/src/sgml/plpgsql.sgml
doc/src/sgml/pltcl.sgml
doc/src/sgml/ref/alter_opfamily.sgml
doc/src/sgml/ref/create_language.sgml
doc/src/sgml/ref/create_opclass.sgml
doc/src/sgml/ref/create_operator.sgml
doc/src/sgml/ref/create_trigger.sgml
doc/src/sgml/spi.sgml
doc/src/sgml/xindex.sgml
doc/src/sgml/xplang.sgml
src/backend/access/gin/ginvalidate.c
src/backend/access/gist/gistvalidate.c
src/backend/access/hash/hashutil.c
src/backend/access/hash/hashvalidate.c
src/backend/access/spgist/spgvalidate.c
src/backend/commands/opclasscmds.c
src/bin/psql/describe.c
src/include/access/hash.h
src/test/regress/expected/alter_generic.out
src/test/regress/expected/create_operator.out
src/test/regress/sql/create_operator.sql