Refer to replication origin roident as "ID" in user facing messages and docs
authorJohn Naylor <[email protected]>
Thu, 18 Aug 2022 01:57:13 +0000 (08:57 +0700)
committerJohn Naylor <[email protected]>
Thu, 18 Aug 2022 02:10:39 +0000 (09:10 +0700)
commit7cadaac5130ec60d905c5ad69af98056b54c4e37
tree6b55a58d3c8ff9cd94853ac7214cc713b29f4659
parent522ae011fa010a74cd74ef13036df5138751eee2
Refer to replication origin roident as "ID" in user facing messages and docs

The table column that stores this is of type oid, but is actually limited
to uint16 and has a different path for creating new values. Some of
the documentation already referred to it as an ID, so let's standardize
on that.

While at it, most format strings already use %u, so for consintency
change the remaining stragglers using %d.

Per suggestions from Tom Lane and Justin Pryzby
Discussion: https://www.postgresql.org/message-id/3437166.1659620465%40sss.pgh.pa.us
Backpatch to v15
doc/src/sgml/replication-origins.sgml
src/backend/replication/logical/origin.c