Re: Query about pg_wal directory filled up

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Rama Krishnan <raghuldrag(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query about pg_wal directory filled up
Date: 2024-12-18 14:28:43
Message-ID: ea673880dd25ed8dc6c594874186d196502c1644.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2024-12-17 at 19:11 +0530, Rama Krishnan wrote:
> One of their main concerns is whether the database will allow `INSERT` queries
> when the `pg_wal` directory becomes full.  
>
> As I understand, once the `pg_wal` directory is completely filled, the database
> will allow only read queries and will not permit any write operations.  

That is not the case. If pg_wal fills up (more precisely: if creating a new
file in pg_wal fails), PostgreSQL will crash and go down.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2024-12-18 14:32:34 Re: Documentation enancement regarding NULL and operators
Previous Message Francisco Olarte 2024-12-18 12:39:10 Re: How to do an update with XML column ?