7 Commits

Author SHA1 Message Date
Teodor Sigaev
052ed01129 Fix checksum validation for relations that have more than one segment.
A blkno argument passed to pg_checksum_page procedure should be not a
relative block number in a given segment but an absolute block number
in the entire relation. It's the same for the segment number 0, but for
segment number N the difference is RELSEG_SIZE * N.

Aleksander Alekseev
2016-09-07 19:27:02 +03:00
Christoph Berg
595225c836 Bump copyright year 2016-02-02 19:04:03 +01:00
Christoph Berg
81982fa168 Add support for verifying block checksums
Patch by Jeff Davis, rebased by Fabrízio de Royes Mello.
2014-08-30 22:15:22 +02:00
Tom Lane
e3b9612db0 Update copyright date. 2014-06-10 13:24:38 -04:00
Tom Lane
4f71071d5b Updates for latest Postgres 9.2 sources.
We no longer need pg_crc.c, and hence not a source tree, yay.
2012-03-12 16:08:33 +00:00
Tom Lane
ac96dfbaca Assorted adjustments to prepare pg_filedump for its new life.
Add PostgreSQL Global Development Group to the copyright notices, and
remove a couple of no-longer-appropriate references to Red Hat.
Unfortunately I can't undo Red Hat's choice of GPL licensing, but it is
what it is.

Also reduce the pain of version-stamping by coalescing references to the
version into one pair of macros, and removing not-especially-useful
change logs.  IMO the commit logs serve that purpose just as well.
2011-01-18 02:28:26 +00:00
Tom Lane
8446d97d72 Initial revision 2011-01-18 01:33:27 +00:00