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 1uD1rc-005Ymg-BW for pgsql-general@arkaria.postgresql.org; Thu, 08 May 2025 14:04:40 +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 1uD1rZ-003aT4-Rg for pgsql-general@arkaria.postgresql.org; Thu, 08 May 2025 14:04:37 +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 1uD1rZ-003aSv-H1 for pgsql-general@lists.postgresql.org; Thu, 08 May 2025 14:04:37 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uD1rW-000q6d-2d for pgsql-general@lists.postgresql.org; Thu, 08 May 2025 14:04:37 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-7411f65811cso482512b3a.1 for ; Thu, 08 May 2025 07:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746713073; x=1747317873; darn=lists.postgresql.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=FcBMPwudOeTCy+xUANsC2t1c9siyt06pPcdpe5h1U1Y=; b=b1DCLI+vJcUaILuCnbnsFu/Pco5olVllYKuOedcdymwpnrIrsSbsH8PwDXlgmgVrm0 56uPzDcaZq3mjFniFOtXSo2rs3pQWND8x/zhDnV/pRTXPeQto6VOlXI/rLkShRxgefKM ey3B5xqw9AgAyZ6so5Zz9suGTFBX6sDx2QBBGj7vd1P9t5Uq8xVNtF/HeE6VK6m2EXLb IFSwpMBwsR2KpEOkBa3YhJ4RSqHtuZHdVAEk0ppW7Ov7oMOdDOoBhdRYnrrf51NeQL0D iyDv8IIyrfEGwMXWmw8DpVPDsqS77w6logB/PfAFcJcDTz75UB0hduYlHTkhMVYJZlKA VXqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746713073; x=1747317873; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FcBMPwudOeTCy+xUANsC2t1c9siyt06pPcdpe5h1U1Y=; b=FidxGEWffS7/HNRWLnPfiqgJVNcCGCmo7Da9NhLPWDuS4co9JwVjXRjtBqqrzQcKJO inF3Zs5+mheW1MfFufKXF7C76aB31JxIRVqM3UzcOg7elS//Cvwkb9keZDKtDDA3NOn/ /sRZBQFiUx2PvL1MoPBhkQzkENobW2/Ksm0+opz1wxbQA2LjdaJHzE2rlnpfsKFHup3T a3q4c3ttElZgUQvtbZ/YVtg9j4k+v91qnHGkVD1iyUWKmySKatYQrly9lphr6tRusczO G9i8E38n1WHmZkxisVy+t/IVnCP34mpINdIPf3jS6Lkog4HCO8pSBhEQztvX//EO4yVH vjMg== X-Forwarded-Encrypted: i=1; AJvYcCVwvWQJ6vt7EwUDSX14z5mwj9/SBrOh9RAba7wgNsEEXz4J80v7xGv2He/EhuOrtkaxGz0lsTfwwIsaNUIe@lists.postgresql.org X-Gm-Message-State: AOJu0Yw3CD//lKAn8V4hH0x61k10Cwj69MD5Yo6yGEWxRFXgLHohWo5x 8vLABWZpq4BoxbEFeOPmm13Gh9LkBR0gh91ZCUb1Sh2ew/6RYl8M X-Gm-Gg: ASbGnct6PXSrK1yfUClyMXpmf/dLQpqLe/r7vxcd5RITXR71LgRZ1F8joiKU9OlORD2 ClkavYA1WGn9HS9VGsvnsuyzmhdyDA1H0Q3wO9VE5wt83p3ihicQzoLdEeVb/2kywStFq7AcKlk 6Ha432NOVASfYjS9K/TdTOywGP38le9SjmvHQ4zBc4Ocl187vXJIrsAwD/2OcTkL4fxx5TRR96A vrrEfpYaIyUq8HWuLZKCt7FNcen7DOM6L95PcOhtYtdUODiOxS3cVOL0S/hi8p9aKaIFFq1FRAn vTj1/zxOdab8FXB6a979cqV9TH6hTly5ZVM1g83menM+c2J8XnNf4yD55/3nbcL4ObvGWA== X-Google-Smtp-Source: AGHT+IGDSEeungFIatHrR9wcn0o0gQ7l3bAa6/SpPmE+AJLHcy2qkX7v5UloGXaJ3PRLhCchmaHdfw== X-Received: by 2002:a17:90b:38c5:b0:2ff:7b28:a51a with SMTP id 98e67ed59e1d1-30aac1b291cmr12673201a91.17.1746713061263; Thu, 08 May 2025 07:04:21 -0700 (PDT) Received: from smtpclient.apple ([2601:681:4c01:7310:1c05:b6ce:3c07:ea3f]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e4a573ce5sm49000755ad.252.2025.05.08.07.04.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 May 2025 07:04:20 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: pg_rewind problem: cannot find WAL Date: Thu, 8 May 2025 08:04:09 -0600 Message-Id: <06EC319D-C147-4DCF-8DED-C65522EA2D6D@gmail.com> References: Cc: Laurenz Albe , pgsql-general In-Reply-To: To: Luca Ferrari X-Mailer: iPhone Mail (22E252) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > > Any idea? > Clearly, postgresql.auto.conf is within PGDATA, and since my > recovery_command is there, one trick could be to touch and empty > PGDATA/postgresql.conf, pg_rewind, remove the fake configurtion file. > But I'm sure there is a smarter solution. > > Thanks, > Luca > > A symlink from $PGDATA to where actual file?