aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-04-20 04:07:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-04-20 04:07:38 +0000
commiteac825aa681f50b20c7a96379fdf3904d036c916 (patch)
tree071ee4ad0f9e2e840e4fb454f29e69ef7c0a3099 /src/backend/utils/adt/regexp.c
parentcc7eab38ddacd7f217340146ebba24520e09a2b8 (diff)
downloadpostgresql-eac825aa681f50b20c7a96379fdf3904d036c916.tar.gz
postgresql-eac825aa681f50b20c7a96379fdf3904d036c916.zip
Ensure that we validate the page header of the first page of a WAL file
whenever we start to read within that file. The first page carries extra identification information that really ought to be checked, but as the code stood, this was only checked when we switched sequentially into a new WAL file, or if by chance the starting checkpoint record was within the first page. This patch ensures that we will detect bogus 'long header' information before we start replaying the WAL sequence.
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions