Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> Is it possible to make the database safe in this case? I can see why it
> would be difficult to handle pg_xlog filling up (or for that matter
> pg_log), but couldn't any other area be turned into just a simple ERROR?
It is --- Josh is mistaken about the severity of the code's response to
out-of-space. We have to panic if out of WAL or CLOG space because we
can't advance the transaction counter anymore in such cases, but
otherwise it's just ERROR. See the archives for some recorded cases of
PG's response to out-of-space situations.
The real problem though is whether you can get anything much done if up
against a hard limit; especially if that limit also affects the system
catalogs. Remember that UPDATE requires the ability to insert new tuple
versions, so there are a whole lot of things that will draw that ERROR.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Hiroshi Saito||Date: 2007-03-01 23:44:56|
|Subject: Re: Removing some of the old VC++ stuff|
|Previous:||From: Jeff Davis||Date: 2007-03-01 22:37:04|
|Subject: Re: SOC & user quotas|