aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsquery_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-09-06 11:43:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-09-06 11:43:44 -0400
commit89dba59590fdd03799a47daf8019890d4324fbcf (patch)
tree0321a2b360059809b7e6709542b253ae556742df /src/backend/utils/adt/tsquery_gist.c
parent388e71af880d579212c2489686903c2cfdea9032 (diff)
downloadpostgresql-89dba59590fdd03799a47daf8019890d4324fbcf.tar.gz
postgresql-89dba59590fdd03799a47daf8019890d4324fbcf.zip
Fix actively-misleading comments about the contents of struct pg_tm.
pgtime.h documented the PG interpretation of tm_mon right alongside the POSIX interpretation of tm_year, with no hint that neither comment was correct throughout our code. Perhaps someday we ought to switch to using two separate struct definitions to provide a clearer indication of which semantics are in use where. But I fear the tedium-versus-safety-gain tradeoff would not be very good. Discussion: https://postgr.es/m/CAJ7c6TOMG8zSNEZtCn5SPe+cCk3Lfxb71ZaQwT2F4T7PJ_t=KA@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/tsquery_gist.c')
0 files changed, 0 insertions, 0 deletions