On Sat, Jan 22, 2005 at 11:28:52PM +1100, Neil Conway wrote:
> It occurred to me that if we elog(ERROR) during VACUUM, the vacuum 
> activity hint will not be reset. This will result in all subsequent I/O 
> by the current backend being treated by the bufmgr as though it resulted 
> from VACUUM. While elog(ERROR) during VACUUM is not a common occurrence, 
> I don't think it's wise to assume it is impossible.

Hmm ... I think you should rather use a PG_TRY/PG_CATCH block.  (Or
discover whether this is already done somewhere else ...)

-- 
Alvaro Herrera (<[EMAIL PROTECTED]>)
"El día que dejes de cambiar dejarás de vivir"

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to