aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-06 00:04:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-06 00:04:33 +0000
commit718d3232af9cee59c7e0a0452cc7d02935c557ea (patch)
treea7ee34d382dada103a172c64af29c50a9833d123 /src/backend/parser/parse_expr.c
parent0add52b4f660dd2d90eb00450d38c6d0e41679fa (diff)
downloadpostgresql-718d3232af9cee59c7e0a0452cc7d02935c557ea.tar.gz
postgresql-718d3232af9cee59c7e0a0452cc7d02935c557ea.zip
Fix ReadBuffer() to correctly handle the case where it's trying to extend
the relation but it finds a pre-existing valid buffer. The buffer does not correspond to any page known to the kernel, so we *must* do smgrextend to ensure that the space becomes allocated. The 7.x branches all do this correctly, but the corner case got lost somewhere during 8.0 bufmgr rewrites. (My fault no doubt :-( ... I think I assumed that such a buffer must be not-BM_VALID, which is not so.)
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions