git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 47556a0) | patch
Add missing ObjectIdGetDatum() in syscache lookup calls for Oids
2023年7月20日 06:18:25 +0000 (15:18 +0900)
2023年7月20日 06:18:25 +0000 (15:18 +0900)
commit 2a990abd79acea4717cc8f982a28f35b6b347ddb
Add missing ObjectIdGetDatum() in syscache lookup calls for Oids

Based on how postgres.h foes the Oid <-> Datum conversion, there is no
existing bugs but let's be consistent. 17 spots have been noticed as
incorrectly passing down Oids rather than Datums. Aleksander got one,
Zhang two and I the rest.

Author: Michael Paquier, Aleksander Alekseev, Zhang Mingli
Discussion: https://postgr.es/m/ZLUhqsqQN1MOaxdw@paquier.xyz
src/backend/catalog/index.c diff | blob | blame | history
src/backend/commands/alter.c diff | blob | blame | history
src/backend/commands/sequence.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/commands/user.c diff | blob | blame | history
src/backend/partitioning/partbounds.c diff | blob | blame | history
src/backend/partitioning/partdesc.c diff | blob | blame | history
src/backend/utils/adt/acl.c diff | blob | blame | history
src/backend/utils/adt/ruleutils.c diff | blob | blame | history
src/backend/utils/cache/lsyscache.c diff | blob | blame | history
src/backend/utils/cache/partcache.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /