mirror of
https://github.com/postgres/postgres.git
synced 2026-07-10 02:01:05 -04:00
pgoff_t is most likely a 64-bit integer, so casting it to a 32-bit type for output could lose data. In the cases addressed here, the files cannot actually get that large, so this is only cosmetic and to set better examples for the future. (Similar issues that could have actual practical impact were addressed separately in commit e8f851d6172.) In one case, the 32-bit size is baked into the protocol, so here we add an elog and document this discrepancy. Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/20ce62fa-47fc-457b-b504-12f3c1651726%40eisentraut.org |
||
|---|---|---|
| .. | ||
| backend | ||
| bin | ||
| common | ||
| fe_utils | ||
| include | ||
| interfaces | ||
| makefiles | ||
| pl | ||
| port | ||
| template | ||
| test | ||
| timezone | ||
| tools | ||
| tutorial | ||
| .gitignore | ||
| DEVELOPERS | ||
| Makefile | ||
| Makefile.global.in | ||
| Makefile.shlib | ||
| meson.build | ||
| nls-global.mk | ||