diff options
author | Robert Haas <rhaas@postgresql.org> | 2024-08-16 13:34:18 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2024-08-16 13:45:23 -0400 |
commit | 76dd015e859845fc5fe60557328e3a6bbf11be31 (patch) | |
tree | 3a6889972746f90a2a4379adf892db3fa6c90cd4 /src/backend/utils/adt/jsonfuncs.c | |
parent | b8b3f861fbd7ff40055225ec48cec97df925ff04 (diff) | |
download | postgresql-76dd015e859845fc5fe60557328e3a6bbf11be31.tar.gz postgresql-76dd015e859845fc5fe60557328e3a6bbf11be31.zip |
Improve more comments in astreamer_gzip.c.
Duplicate the comment from astreamer_plain_writer_new instead of just
referring to it. Add a further note to mention that there are dangers
if anything else is written to the same FILE. Also add a comment where
we dup() the filehandle, referring to the existing comment in
astreamer_gzip_writer_finalize(), because the dup() looks wrong on
first glance without that comment to clarify.
Per concerns expressed by Tom Lane on pgsql-security, and using
some wording suggested by him.
Discussion: http://postgr.es/m/CA+TgmoYTFAD0YTh4HC1Nuhn0YEyoQi0_CENFgVzAY_YReiSksQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions