aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-array.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-02-06 23:39:52 -0500
committerNoah Misch <noah@leadboat.com>2015-02-06 23:39:52 -0500
commit237795a7b4ccf359423bdd99476782d4880eda83 (patch)
tree541939ce2eb6f9a156598f77242f409db00c6dd6 /src/interfaces/ecpg/test/expected/sql-array.c
parenta7a4adcf8d1e5a34a15ad86aee7d6aa0b8c15d43 (diff)
downloadpostgresql-237795a7b4ccf359423bdd99476782d4880eda83.tar.gz
postgresql-237795a7b4ccf359423bdd99476782d4880eda83.zip
Check DCH_MAX_ITEM_SIZ limits with <=, not <.
We reserve space for the full amount, not one less. The affected checks deal with localized month and day names. Today's DCH_MAX_ITEM_SIZ value would suffice for a 60-byte day name, while the longest known is the 49-byte mn_CN.utf-8 word for "Saturday." Thus, the upshot of this change is merely to avoid misdirecting future readers of the code; users are not expected to see errors either way.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-array.c')
0 files changed, 0 insertions, 0 deletions