aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-06-29 09:56:52 +0900
committerMichael Paquier <michael@paquier.xyz>2020-06-29 09:56:52 +0900
commit68de1440c79d75e529ff8c7395d698252370f992 (patch)
tree915bc1bfda1b7bda512bd992447189e1e8a8ebba /src/backend/utils/adt/numeric.c
parent96879a0efb65b9cde0a688201516633aa79fd5b0 (diff)
downloadpostgresql-68de1440c79d75e529ff8c7395d698252370f992.tar.gz
postgresql-68de1440c79d75e529ff8c7395d698252370f992.zip
Refactor ObjectAddress field assignments for type dependencies
The logic used to build the set of dependencies needed for a type is rather repetitive with direct assignments for each ObjectAddress field. This refactors the code to use the macro ObjectAddressSet() instead, to do the same work. There are more areas of the backend code that could use this macro, but these are left for a follow-up patch that will partially rework the way dependencies are recorded as well. Type dependencies are left out of the follow-up patch, so they are refactored separately here. Extracted from a larger patch by the same author. Author: Daniel Gustafsson Discussion: https://potgr.es/m/20190213182737.mxn6hkdxwrzgxk35@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions