aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgdoinsert.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-06-13 22:35:56 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-06-13 22:35:56 -0400
commitf04216341dd1cc235e975f93ac806d9d3729a344 (patch)
tree803d65ef30cc32456bc2798d76ec04e5513fbd12 /src/backend/access/spgist/spgdoinsert.c
parentfa2fc066f34f1b631b5f92f11e7cda9f60a25330 (diff)
downloadpostgresql-f04216341dd1cc235e975f93ac806d9d3729a344.tar.gz
postgresql-f04216341dd1cc235e975f93ac806d9d3729a344.zip
Refactor checksumming code to make it easier to use externally.
pg_filedump and other external utility programs are likely to want to be able to check Postgres page checksums. To avoid messy duplication of code, move the checksumming functionality into an exported header file, much as we did awhile back for the CRC code. In passing, get rid of an unportable assumption that a static char[] array will be word-aligned, and do some other minor code beautification.
Diffstat (limited to 'src/backend/access/spgist/spgdoinsert.c')
0 files changed, 0 insertions, 0 deletions