public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Rama Krishnan <[email protected]>
To: Postgres General <[email protected]>
Subject: Re: Query about pg_wal directory filled up
Date: Wed, 18 Dec 2024 15:28:43 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAJWX+EMoXWiSu3Jev9p71VmZ+jGBKuYg3J2r5ZDxsuuKpPbHcw@mail.gmail.com>
References: <CAJWX+EMoXWiSu3Jev9p71VmZ+jGBKuYg3J2r5ZDxsuuKpPbHcw@mail.gmail.com>

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






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Query about pg_wal directory filled up
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox