Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tNv2f-002xo6-8v for pgsql-general@arkaria.postgresql.org; Wed, 18 Dec 2024 14:28:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tNv2e-00FPtS-3z for pgsql-general@arkaria.postgresql.org; Wed, 18 Dec 2024 14:28:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tNv2d-00FPtK-Pt for pgsql-general@lists.postgresql.org; Wed, 18 Dec 2024 14:28:47 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tNv2b-000DAB-8J for pgsql-general@postgresql.org; Wed, 18 Dec 2024 14:28:46 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-aa684b6d9c7so1083295766b.2 for ; Wed, 18 Dec 2024 06:28:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1734532124; x=1735136924; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=LMfpXIECwTOlyBnMRBvTKmH8p95N1sfSERbj7ya5LC8=; b=MpO1/AN+LRvmkeUjXz6zhTvjkdBy2VQ0HBy9NUnEXi+fy7oL/Bl2ZQREXl4W1s+4gt tWzXOVeGz6/RvxPUqn9FFF/qh1wLNiaVto5LeGWbPhUJ2hlh/156b1SzMZXQ8Zy9zo5W ZnuYwsdhecjh7rBhMk/lU5Aa7eia9H+60dZzy65tgPHRKmvKGd5XjoMMkN2LoAa7N6Uz h9+MJ9sGCAZZa/7gEDYWSUXUrb1YE6wlCaQJBB2dYgI85EkPvlUz7XxbNOvSun6Tui/W A2OT/HWXyqKkdPXBfHh6jHGUFR1/8z57awi+46I3CdNs3vGTg8tsvwp9nJq0jJpEYEjL ItvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734532124; x=1735136924; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=LMfpXIECwTOlyBnMRBvTKmH8p95N1sfSERbj7ya5LC8=; b=Y9pgyt2TTC3cbP0K3wp3TnykF49gIBkJrwp7zwOXyXi/7dFccLeXORkM09t/ZJoxfv Ho5UXhU9x9exoAAbNvIgiD8LDi8t8xZKOdAQY1oMwyovkGAJVQFIifhk8u6phWtW+j29 e8GLC3RexbDCRHeAqIte4+nVfnxfxZ8ME78Wgsrq3lVsc+tYjP4BXoh4TK4uV2zuU68p uzlCRo2P4dmXawM7zmJFH3M2VQ49Etyps0LfE80Q7/eI387easOJsKynxWLMCz8fOUEQ C+wv4GKogW4e/O2Yx2FFmTCdUB5eKE7ZZjmSSc1iYVN5fl4U0KRE23yYkX9DwvSCPh5N dAIg== X-Forwarded-Encrypted: i=1; AJvYcCWD53WVl5TYLYzGG4GgJ/yODC5ZAPZ4ZrsOP3P9S9KBHwLVxiYripLaPW1ZlVPZshUesJYJBqwkAUI6DJ3Y@postgresql.org X-Gm-Message-State: AOJu0Ywr4GniDs9erUNSHOy4+i85cMKc3fgYnXTMQTtI6qNGwfRlRFMp epsMQ/X928BYPYIh37Yep/KsKDg3TVoNwh5Tl7r33nHjHmbAvsWpQzNQLJxq6G4= X-Gm-Gg: ASbGncvLDhpZI3ivKhQHlTsEkU8gGSqwCVYDFYQnjzkM+TAkXcbGuG6+np3kYpohiOL TdT7JIJc/o6rhjs/wU1usNFCTqL/j+kghlPmffGNMg01haW2RcNJ44bAQ/GIv+m+YeN35JfUND0 49JVC8D5yuCkaIFKX82nqaQlgcwRsxQWSx6s/FShRVlmTjLcIdGcHCrB0Xoq9I4kSCmSPyHfYtK +G/wsADze2QvNKTD9Lf5KtVVynk5LOWC9WExOYuE4o18qx6NJMcUFcZlyK/1zWwoYRqt5CwAHvl X-Google-Smtp-Source: AGHT+IFsVlw9dwFMq8TwERyVj4f7cDbz8agHZYyIBhNxm4WMvt7wI/l/fURyj2tvadRlzRVFKS0TPA== X-Received: by 2002:a17:907:7759:b0:aa6:6e41:ea53 with SMTP id a640c23a62f3a-aabf471fbc0mr267607866b.7.1734532123795; Wed, 18 Dec 2024 06:28:43 -0800 (PST) Received: from localhost.localdomain ([88.116.133.170]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab96089f88sm565270066b.91.2024.12.18.06.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 06:28:43 -0800 (PST) Message-ID: Subject: Re: Query about pg_wal directory filled up From: Laurenz Albe To: Rama Krishnan , Postgres General Date: Wed, 18 Dec 2024 15:28:43 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.2 (3.54.2-1.fc41) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2024-12-17 at 19:11 +0530, Rama Krishnan wrote: > One of their main concerns is whether the database will allow `INSERT` qu= eries > when the `pg_wal` directory becomes full. =C2=A0 >=20 > As I understand, once the `pg_wal` directory is completely filled, the da= tabase > will allow only read queries and will not permit any write operations. = =C2=A0 That is not the case. If pg_wal fills up (more precisely: if creating a ne= w file in pg_wal fails), PostgreSQL will crash and go down. Yours, Laurenz Albe