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 01:57:13 +0000 (08:57 +0700)
commitc920fe48181d81ce218faa746f8af92c41d03b2e
tree95b262b9a90253af07bbf4b9d11bfd2b2a71275c
parentaf7d270dd3c7523dad023f5761f630daa7fb2730
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