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 1uKLqh-001stL-3z for pgsql-docs@arkaria.postgresql.org; Wed, 28 May 2025 18:49:59 +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 1uKLqf-002MIx-Iq for pgsql-docs@arkaria.postgresql.org; Wed, 28 May 2025 18:49:57 +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 1uKLqf-002MIp-AK for pgsql-docs@lists.postgresql.org; Wed, 28 May 2025 18:49:57 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uKLqd-000QAV-0a for pgsql-docs@lists.postgresql.org; Wed, 28 May 2025 18:49:56 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3a375d758a0so131170f8f.0 for ; Wed, 28 May 2025 11:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1748458193; x=1749062993; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=1Ow5gDvhqdKG6wR9Dws7mNO9A5LEtrXcZQMwmMw6ZcM=; b=QFPWnI9Lv8KhmR8OKa9cpXzJ9qFzgyoZj+abVB7IIZZu8h45sEoko9KZkT8icUfB6X dYzU5GTKzra9wmMLs9xheW8WIH8od4AET0AdC/3dsP16sZS9ZCV5NZIWqtnotOrVjBmv JEyPbYLyE9BxDhiQDdwPlnbU6py8NrtIi2Jg966RauMW8sT1AzsnKuaW3r+UrybKwxtV uVNUO0PvUw/IiSBG1DhsnyrvUX73assduDc8SRnUJr4VclfDdW8LExoy7kv9PEYhrn90 VqQF2tHx0JNzuwWeCDcCI8CXJ7+6lWkxxOTqR0ptiBBN9p6odp+DnkN7gz6EEU/Nmd6w VeJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748458193; x=1749062993; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1Ow5gDvhqdKG6wR9Dws7mNO9A5LEtrXcZQMwmMw6ZcM=; b=weoH8ypkN9927y89/hN129hZBKZPa6Vqa2o8pzwtaES2jSLvCLzUgDI0SWPH1e2HZp U17qj8KHpvjx6Be4OpSdKVVkm4Nq+DOYu6LISzDIUJlywClNJDSKwvDeSaoHJL/M3UOm wB/JSGfC6Be5+4hcGwfe59RLl8hBU77+fUVFFSt8af9ffRsZmp8c/GT/LKfRQWHGcrsJ qBqCg2TIAys/T7oSQR6JbTTESVclPJ6Ki4lH+oB0pVdk7ZyEGMxMoSVjEzi9Etmf7Bqv llRT8CX/kLcoKNUJx+o+86IP8X0UfGB4EREUtpujwEGEKE9Yr8jh9wZbfZOJA0dtsFl/ TANQ== X-Forwarded-Encrypted: i=1; AJvYcCUkoTlCex7hyAgXaTLjY8FPuWYZ9EdRS/CnQjNULk0jZff3WYMB7rNdtJT3vTNUbQ1u+Wen9xIr69Sy@lists.postgresql.org X-Gm-Message-State: AOJu0YymkHe7HwvAJrJuB4cfcMFnbu/9VjsMBvkw9AiAHcEw+OUD350F OSyha6NaDDlKDIBZ6LhvlDTbngyKHWMjMNqiIinQdKkmEKoijWu1155W1ObdDRzOU+U= X-Gm-Gg: ASbGncuHnXTcDCVxmxPcPk91odfG96ETpzsnZBbYCqARBn5osctzHKg3zjcuImSeS6g ZC2e5x2TPIpIDgqbqS0NX2eHRaCQSFkWHyB77erBsvk+XY7lr/a6SC9kVzVb1EWczBXOxWWuYgb T+EpOlVxGs6mgxVk/HE/JII0hWmMd80bZAJMPT/T9+FB1WCFH8091ILc4iODH6/rZOxTPdY36S4 vq/nIJJnR30sQybsGdkPa+PjZf9waxhKAx5W7CjI0L8JYUkaAX+vftOEF6ZVvJuHlLGJKefiHQt 303DRfE88B+edGRYh0BEz9PSnshZczM0hWY/mZN6TL4DVfT2QWrPXccMjXgXlmNfJnCwLhFJY+H y4xktyQ== X-Google-Smtp-Source: AGHT+IHdtCrMybQ5FALePmzbJMAaUnrEDyCwegLTfdBgVuX1vXGKNffF1zv42bj1G6T8S/LZM+DdbA== X-Received: by 2002:a05:6000:1aca:b0:3a4:e368:e6f2 with SMTP id ffacd0b85a97d-3a4e368e888mr6312214f8f.37.1748458193437; Wed, 28 May 2025 11:49:53 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:260:8117:27e8:bf68:a1b0:6f50]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4eac6ed58sm2199691f8f.8.2025.05.28.11.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 May 2025 11:49:53 -0700 (PDT) Message-ID: <914d62974974a73595cdebb30db1634a14615dc9.camel@cybertec.at> Subject: Re: Documentation should state what happens, when a commit fails From: Laurenz Albe To: Dave Cramer , "David G. Johnston" Cc: mark maker , "pgsql-docs@lists.postgresql.org" Date: Wed, 28 May 2025 20:49:52 +0200 In-Reply-To: References: <174841970441.781.9104306922623804710@wrigleys.postgresql.org> <248747ba-1626-4840-8106-f9598275616f@makr.zone> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2025-05-28 at 11:09 -0400, Dave Cramer wrote: > Somewhat annoying feature of this behaviour is that when COMMIT is issued= on an aborted transaction no error is reported. > Most drivers work around this problem by keeping track of the previous er= ror and reporting an error on the COMMIT. We have been there before: https://postgr.es/m/b9fb50dc-0f6e-15fb-6555-8ddb86f4aa71%40postgresfriends.= org Nothing came of that discussion though. Yours, Laurenz Albe