Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY4uF-0005jC-I3 for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 09:07:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iY4uD-0005qw-U5 for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 09:07:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY4uD-0005lF-GW for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 09:07:09 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iY4uA-0004ZS-Tw for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 09:07:08 +0000 Received: by mail-wr1-x433.google.com with SMTP id t2so7707526wrr.1 for ; Fri, 22 Nov 2019 01:07:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=iH46BSew1ykGfd5HDLz+uckbVHsOpNa+TmsxYeM91NU=; b=MgN8QZB8aTUvtR8oMBIVm5RIcsGJBlG1O/WYvkhGnuWv6jynd/RFXJH//jgy3xmCf0 sADPs9NbE5kqIGESNzCyjVh5FV4FL7hdby+yL0V3DFU/BA5GIWoQrYruFloXyXF1+qe7 55Ispn7WSw0FYw2sGlgKY8+5ZJA2elSv+v9Smmt1ksPfwXCWWYaFADJDblUZL/FZG8VR /+rYBsUhVbxPclKB7G7NdKP3JujCe2t+/sZvTuPhpsZaspxdFdkOgsHWQAmVJT3HZD9l DmJGknOK4lDbGcTyWol0XWyJ/nDEVnK0MFh43ZJzCBK5qR9uYn/C293N5VFvTtX6AEUd 6SMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=iH46BSew1ykGfd5HDLz+uckbVHsOpNa+TmsxYeM91NU=; b=phz+GvszkwsyaGtQewgEzhmThdhaHjdxOoeyu3bqPg9SZd0LT+x4fN/eQN0QE5Cy9e 1arB4at4+UV9GBlBe8UbZjhogMzVbksd7YGdGWUeosPSOUlb77K9ZQrJLPrDj6cTx882 jpXrpDG7V0C2OrDNv7eKJ7RqXh9XN2cooQ90zPgkgaEJxcJdNV92y9KayJsbVBfa9l4t JmRVytQ4sHdZ/DXhINm+zE6hgn3uq9h8EjtoYvG31jDyR4yJgXDT4ld91fyVZtgKxstr 7s4DLaWmlq3NQWZ3LWfBe/Pd7aU/HskhbuoSG2AfmXjkIfRntdw8DG60NWnuHnx82veu kZOA== X-Gm-Message-State: APjAAAWDI7rbDdFPXpzJX3o4CPhNtmvGBHvXhn5m3ZIVxYzb9MNCYULn uPuSPry0SQfshJOsDQBntp5pwB4bFqE= X-Google-Smtp-Source: APXvYqz1BsZJZCDeNuGGHcqI32KWpj6q9lvXKusQCTkmDsvJt/j+B4pbQWwrAtoq00OaaGydCV6zHg== X-Received: by 2002:adf:b19a:: with SMTP id q26mr494505wra.79.1574413625209; Fri, 22 Nov 2019 01:07:05 -0800 (PST) Received: from localhost.localdomain (217-149-170-123.nat.highway.telekom.at. [217.149.170.123]) by smtp.gmail.com with ESMTPSA id l10sm7624304wrg.90.2019.11.22.01.07.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 01:07:04 -0800 (PST) Message-ID: <567df5c72f22bd452c68668d5dfa0a2540d0e64a.camel@cybertec.at> Subject: Re: Extract transactions from wals ?? From: Laurenz Albe To: Marc Millas Cc: "pgsql-general@lists.postgresql.org" Date: Fri, 22 Nov 2019 10:07:04 +0100 In-Reply-To: References: <355aa1f83ee7bf0b2f5296f46cf231fb1384b409.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 2019-11-21 at 17:35 +0100, Marc Millas wrote: > I was writing select from ""table"" as a template. We have to do this for a bunch of tables. > So, to my understanding, what you suggest is to PITR up to the first timestamp, > extract all meaningfull tables, and then pitr to the second timestamp > so as to be able to script a kind of "diff" between the 2 to get what I want. Sure, you can do that. The description of what you wanted to do was rather unclear, all I could make out is that you want to query AS OF TIMESTAMP. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com