pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: doc: Update uses of the word "procedure"
2+ messages / 1 participants
[nested] [flat]

* pgsql: doc: Update uses of the word "procedure"
@ 2018-08-22 13:13  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2018-08-22 13:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: doc: Update uses of the word "procedure"
@ 2018-08-22 13:13  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2018-08-22 13:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

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

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-08-22 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-22 13:13 pgsql: doc: Update uses of the word "procedure" Peter Eisentraut <peter_e@gmx.net>
2018-08-22 13:13 pgsql: doc: Update uses of the word "procedure" Peter Eisentraut <peter_e@gmx.net>

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