aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-10-25 12:00:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-10-25 17:02:22 -0400
commit8c035e55c4807dc5844f563dcbbc44ffe2fdd4d6 (patch)
tree20ef5919c61e791098f344e306acf4e068c8437b /src/backend/utils/adt/json.c
parent78d109150bf133c38bcdc6d8c5bd9ff546ed1171 (diff)
downloadpostgresql-8c035e55c4807dc5844f563dcbbc44ffe2fdd4d6.tar.gz
postgresql-8c035e55c4807dc5844f563dcbbc44ffe2fdd4d6.zip
pg_dump: Simplify internal archive version handling
The ArchiveHandle structure contained the archive format version number twice, once as a single field and once split into components. Simplify that by just keeping the single field and adding some macros to extract the components. Introduce some macros for composing version numbers, to eliminate the repeated use of magic formulas. Drop the unused trailing zero byte from the run-time composite version representation. reviewed by Tom Lane
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions