diff options
author | Robert Haas <rhaas@postgresql.org> | 2020-04-24 10:38:10 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2020-06-15 15:28:49 -0400 |
commit | 2961c9711c17e5fe05fb1fbd72c3e47f3b601ee4 (patch) | |
tree | c80892435d6c8cb4b07a9c0e1343185ac30ed0c0 /src/backend/utils/adt/float.c | |
parent | e532b1d57df9b55557263303dba883e06521b0d2 (diff) | |
download | postgresql-2961c9711c17e5fe05fb1fbd72c3e47f3b601ee4.tar.gz postgresql-2961c9711c17e5fe05fb1fbd72c3e47f3b601ee4.zip |
Assorted cleanup of tar-related code.
Introduce TAR_BLOCK_SIZE and replace many instances of 512 with
the new constant. Introduce function tarPaddingBytesRequired
and use it to replace numerous repetitions of (x + 511) & ~511.
Add preprocessor guards against multiple inclusion to pgtar.h.
Reformat the prototype for tarCreateHeader so it doesn't extend
beyond 80 characters.
Discussion: http://postgr.es/m/CA+TgmobWbfReO9-XFk8urR1K4wTNwqoHx_v56t7=T8KaiEoKNw@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions