Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: WAL dirty-buffer management bug



Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> Problem for indexes only. heap xlrecs don't specify exact insert points

Sure they do.  They had better, else (for example) the associated index
insertions will be wrong.

> Accesses to local buffers don't need to be critical sections either.

True, but in most places it would uglify the code quite a bit to make it
like that, because START/END_CRIT_SECTION are bracketing code that is
shared between both cases.  And I'm not seeing where we'd get any
particular reliability gain from it: if the code has any significant
risk of elog'ing during the critical section, it's broken anyway ...

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group