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 1s9ZFM-003Gcq-2U for pgsql-general@arkaria.postgresql.org; Tue, 21 May 2024 23:50:21 +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 1s9ZFK-00DCgi-Tq for pgsql-general@arkaria.postgresql.org; Tue, 21 May 2024 23:50:18 +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 1s9ZFK-00DCga-Iu for pgsql-general@lists.postgresql.org; Tue, 21 May 2024 23:50:18 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s9ZFI-001Mot-0c for pgsql-general@lists.postgresql.org; Tue, 21 May 2024 23:50:17 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-241572c02efso2473310fac.3 for ; Tue, 21 May 2024 16:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716335415; x=1716940215; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jVnyEoEEfCq2APvOUE7j7i/2Ttt7D9QLBCFfvW6QRUE=; b=fALkGWHeKTCP4GCndtf4o24WUYotpJc0g0ilCA34erKR9vMbvS0OP2vj404tsGwlaw OeFkc12lSDpeCYWqEblvizoFGY6U0WwfQA9RwoE42EDUrv9Hd4HAFD7hUyQQz+8m7eYl CCEHOGs0M9f9a69Nv4Qy2uywGhPnH/y/cLrQVDgqpLiyW9qFpeeWuhgFoPhqskQiEyNK 3nyJMTD9GEWcyC0dmKvc4jWs1PeWcufs5b0y5145h6ymdsqiZZpGSBPkAFHd8n86bUCa d1u886YwYWuWewqxngKq2ydQCqcqUhjblLXtbBho1WHHDIM/VcknbT4H+IsGAuhcIczL SxPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716335415; x=1716940215; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jVnyEoEEfCq2APvOUE7j7i/2Ttt7D9QLBCFfvW6QRUE=; b=j9LHjSfTs5I1Wkecb/HqwG+vROMXBpsErBrk+AYCqDEJTXrnTryZG+u2C4wDpKQVWc 7pAWaSamiVM7yfjDd3h23G4VIiozErbfiEDEnv1l1AcnRmt2KDUbhlitei19BOcw0vfw 95rk2whmpAqMLDrUixA9vf8soDbQtcChY9+1hI8IatY8ChZtiUfnePmgjWD/gdtiEnnX fZ0OWQdpmiyib/RW8ryExHsYsOdckKykh9izFus1k0CtVvwrswZ0VbYfx9lHSFgIYUui JE+13/l0mWJxKRuFWW1OIt/HSURBGVB4osLYjlGrvUYsIv1TpxnjrJgNWSgKkGOTh2uR Kfzg== X-Gm-Message-State: AOJu0YyG/6wgoOJx9HjZpgbUu4Zzh+H7iFhKKGAXlYRJy2bupI6w0+nY gHAabqLnuigVPjdeqkJsRXnw+Yn/z1aLSapMsV9/NIRxjXzVcBO+dWqAh1MokHYp/TUWURnxC78 U6vwpRHWdMJSMI6eI5KRG3NGaW7NN3w== X-Google-Smtp-Source: AGHT+IHYm+TGnXogv8Xe+EW0nr83xYdtFdfJy/QgVoyY5XE8AUZOk6uD9dj+Y/2BZlcSl7vr+kA1dyoU6yAemnN4ac4= X-Received: by 2002:a05:6870:63a2:b0:23f:eea9:ae74 with SMTP id 586e51a60fabf-24c68df28c7mr639474fac.46.1716335415325; Tue, 21 May 2024 16:50:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a8a:74d:0:b0:52c:cea1:1841 with HTTP; Tue, 21 May 2024 16:50:14 -0700 (PDT) In-Reply-To: References: From: "David G. Johnston" Date: Tue, 21 May 2024 16:50:14 -0700 Message-ID: Subject: Re: Confusing error message in 15.6 To: Dmitry O Litvintsev Cc: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000befe410618ff7ab6" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000befe410618ff7ab6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tuesday, May 21, 2024, David G. Johnston wrote: > > On Tue, May 21, 2024, 17:29 Dmitry O Litvintsev wrote= : > >> >> This is not just amusing, it is breaking my backup script after update >> from 11 to 15 (and change from pg_{start,stop}_backup to >> pg_backup_{start_stop}) >> > > > Yep, nowadays you must keep the transaction where you issued backup start > open until you issue backup end. Using -c isn't going to cut it. > > Right, it=E2=80=99s only the connection, not a transaction. https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-LO= WLEVEL-BASE-BACKUP And this is why the name changed, because the behavior is so different. David J. --000000000000befe410618ff7ab6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tuesday, May 21, 2024, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Tue, May 21, 2024, 17:29 Dmitry O Litvints= ev <litvinse@fnal= .gov> wrote:

This is not= just amusing, it is breaking my backup script after update from 11 to 15 (= and change from pg_{start,stop}_backup to pg_backup_{start_stop})


=
Yep, nowadays you must keep the transaction where you iss= ued backup start open until you issue backup end.=C2=A0 Using -c isn't = going to cut it.

<= br>
Right, it=E2=80=99s only the connection, not a transaction.


And this is why the name changed, because= the behavior is so different.

David J.
=
--000000000000befe410618ff7ab6--