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 1tpUEK-006LJr-Jx for pgsql-general@arkaria.postgresql.org; Tue, 04 Mar 2025 15:30:48 +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 1tpUEJ-000QEI-AV for pgsql-general@arkaria.postgresql.org; Tue, 04 Mar 2025 15:30:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpUEJ-000QEA-08 for pgsql-general@lists.postgresql.org; Tue, 04 Mar 2025 15:30:47 +0000 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tpUEF-000vH0-1a for pgsql-general@lists.postgresql.org; Tue, 04 Mar 2025 15:30:46 +0000 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-6f9625c0fccso51470237b3.1 for ; Tue, 04 Mar 2025 07:30:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741102243; x=1741707043; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8PNHaIcpQcYhpAtGlPCSL5yQqFXIupVCngbsPKnn2E8=; b=e21jGlFCYQZfaCCreR0L1tveU2LzyafFTj0vJaOI3LTuF9znXqEYcLisfgzc7pIcUE GOSfHQUGJiXi6tbRXDu4/W7JE4oYFdkpwIpgpwbOmJYGu4+eSyFEsOL4Fi+WUO0Elfgp B6rvZRgRSFcXZ6rGxl0U81hoCsEa4A9IDmzLy9Fw4sYTVPegSEKPmM2EnnSlbXvd81so 1B2cEkg61arpqQOpAhRlzCiLDiLk+GsVLXY8jRNLPe8UD+5+EIMJ8xT2+tMaoMKU96Po ba7NAbvHrYeYz6x8lNHjhAlV377cThtqQzLI9Sy1vAcy5U82qvblSKHaY1x5qxJY/afX oFvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741102243; x=1741707043; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8PNHaIcpQcYhpAtGlPCSL5yQqFXIupVCngbsPKnn2E8=; b=Wl0IZxjG1gsAgbpMiW15Q9Aen891M3xra2wpBSfIBtF98l4PfCYMS6F5LG8Y3F1QqB 8wPWPtjAgMeo+7fHr/VoobZrBhU+2zcMCm7cavpcVpgUmC4yNLarWRYAVIaZtEUkb5/b 1tiFysA1TlRCmf1r6qYdoqk5RBSUPkURoIBVPNuyUh0VJa9We6HDV+ywm+6oLOcvqkGg gNw4imgV86u07uSE0pLZ9XhUndprS4DToyARZS4f5u/M/ezfTpSRO82Gg1icvAiNQuWH Kyr28ZNdqEml/m6yt5rSzZmDroWnUSz+3OBptkcFxpzHwGlaU4GM/VYGF6GgeEbHUv3U +jag== X-Forwarded-Encrypted: i=1; AJvYcCXn7102jns0eexrNGfqIWXh8rMo3vv/WhpHhA3ugZj4JMvlgqV51KqfzZnTmehI7oqhnHNKpgISKHLVZwyt@lists.postgresql.org X-Gm-Message-State: AOJu0Yy30IpCQBPQctftT1ZYd2dW5pZGwnFWl4UecJRQN/ZK25v8W4rg BrxxtR8RzkxQl9Eazl84gtQaZdws32vvEBR+9W6YzVcDYTx4N/9u7TNiph5rwnKfrKj9dle3Ky3 Km5e2EFyiFJRmv7HdtiLXJy41PQA= X-Gm-Gg: ASbGncsYdHIrR+jfgiDcoeF262JmzBy5GKlh0E6DkA4c/3NN+fxsDfLPy9dy9TGcwB3 7qXzEXo4Kna0858VXyGW1e8ZkCcA/73RB5vJqGfTHICN/vQYTeYVgX2Wh78ceEfy3H8yfguVfVH 48/0y/GZKVt9MzoF2aQP655PstQIs= X-Google-Smtp-Source: AGHT+IHmwlRFHkGUIS1/XdV2l35pLLYpqzx/t94NSPovxF4YbmMN1SaFbezARRTe+ryF3S+fTStIDa8tPcI83u7Pydk= X-Received: by 2002:a05:6902:2383:b0:e60:a2e2:9359 with SMTP id 3f1490d57ef6-e60b2e931bdmr22552395276.3.1741102243032; Tue, 04 Mar 2025 07:30:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: chandan Kumar Date: Tue, 4 Mar 2025 21:00:29 +0530 X-Gm-Features: AQ5f1JrKZGjpXVQPkAPBv1e7tfIGC4KbxFmR0fTmktJ6GOI7LX_OQjK9sRilFSI Message-ID: Subject: Re: Review my steps for rollback to restore point To: "David G. Johnston" Cc: Laurenz Albe , "pgsql-general@lists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000b6b838062f85f430" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b6b838062f85f430 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for your time and clarification. Does PITR recreate database internally ? can i say it is not the same as pg_restore or it is same as pg_restore plus applying WAL on top of it. I am asking because can we revern DDL operations without PITR in streaming replication On Tue, Mar 4, 2025 at 8:37=E2=80=AFPM David G. Johnston wrote: > On Tuesday, March 4, 2025, chandan Kumar > wrote: > >> Thank you for your answer. I want to clarify one more doubt. Can PITR >> be achieved without applying Base Backup >> > > The point-in-time you choose must be in the future relative to whatever > data files you are applying WAL on top of. That is only possible of you= =E2=80=99ve > backed up the data files at some point in the past and use that backup. > > David J. > > --=20 *With warm regards* * Chandan* --000000000000b6b838062f85f430 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for your time and clarification.=C2=A0
Does = PITR recreate database internally ?=C2=A0 can i say it is not the same as p= g_restore=C2=A0 or it is same as pg_restore plus applying WAL on top of it.= =C2=A0 I am asking because can we revern DDL operations without PITR in str= eaming replication

On Tue, Mar 4, 2025 at 8:37= =E2=80=AFPM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Tuesday, March 4, 2025, chandan Kumar &= lt;chandan.i= ssyoga@gmail.com> wrote:
Thank you for your answer.=C2=A0 I want to clar= ify one more doubt.=C2=A0 Can PITR be achieved without applying Base Backup=

The point-in-time you choose must be= in the future relative to whatever data files you are applying WAL on top = of.=C2=A0 That is only possible of you=E2=80=99ve backed up the data files = at some point in the past and use that backup.

Dav= id J.



--
With warm regards
=C2=A0=C2=A0=C2=A0=C2=A0 Chandan
--000000000000b6b838062f85f430--