Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otUoQ-0006Tk-3V for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Nov 2022 14:15:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1otUoP-0007Ak-1A for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Nov 2022 14:15:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otUoO-0007AA-Jo for pgsql-hackers@lists.postgresql.org; Fri, 11 Nov 2022 14:15:16 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1otUoF-0000Ij-Ok for pgsql-hackers@postgresql.org; Fri, 11 Nov 2022 14:15:15 +0000 Received: by mail-qt1-x832.google.com with SMTP id h21so2725546qtu.2 for ; Fri, 11 Nov 2022 06:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Vp7WJF+vNCmDCB+ogm5S1H7Lsfvz8/pcEkBa0ukNFt0=; b=xGEjGZka0bHA3T81beH1WXFQ1KVZohWt+fQ5bhPhJRQo6DrRNUh4sPtH+ZgwEcwBLt /bEZYlmOXcSY3zCFPNfO0zmgy1YRmsBZMlFpJxSXa03gsgrJ9DFRa789NBwbiJ2ON9Gu yl6Lad6c0PoUxhNz0Pk23quOPgCeg6O65EeCaLo3p7mdymOdSyslOgJ0EH4Br9zenZwN 2VF901FwDuqzFXbfnCACDCE6mAPSCfeIGBjFHiNZzwXkSG+hjdI28rD7FnNU3u7eYQxP MOFfcEGKzPpyqsDFNz1kzTSn/qL4KaZ3ufBmkh6SEqWMdbtHsD3gKHRi3l8gOaXU1hty +FRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vp7WJF+vNCmDCB+ogm5S1H7Lsfvz8/pcEkBa0ukNFt0=; b=GOaeN6LsdMv8cSEfC8w3dV2NeiozXx+W8S3ojB6GqIAuh9PNkZZNYTJU1AtS6oNRqc qKWBWRbF/zqQSdqs9ef4RhAQy9VmvrmaMgUuauspkqakQgFs3fbNruMbtPqPryC2EaQa g3nwMxIGE4tejwJU56pOsRyDpcBUHgBl+/nO2767h6huF/dyzwgnt26WIXmVErw9P5Gu qElNJB3kHCUFAR1TcQ0eYI2i3aWaOpGVxUQB2hrmOQ/i97nqEoFoUslezEYASgIjKuog Dm0jdHJnhY/WTYN0XTJCheuRMKfod7J0IbI3l+T+wwH365VtqJHKcsILKyAQheGy924g WzHg== X-Gm-Message-State: ANoB5pn5wKFnW+oPLHGd2ChSVLv+o5zJZYbKuhPm3k5/tl8Wmv9BWadN VQ5QKBMW+ggC0eYC0aJwlGfzfw== X-Google-Smtp-Source: AA0mqf7ZtTysXQZBbixReUS9KgRe6Jz/ExQuAv7cWBmLgKIeoaz97VzSW/KjcAXm/+dp+7+UaQOaaw== X-Received: by 2002:a05:622a:5816:b0:3a5:1a23:ca39 with SMTP id fg22-20020a05622a581600b003a51a23ca39mr1390548qtb.109.1668176106057; Fri, 11 Nov 2022 06:15:06 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id 188-20020a370bc5000000b006bbc09af9f5sm1421220qkl.101.2022.11.11.06.15.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Nov 2022 06:15:05 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 835BC803399; Fri, 11 Nov 2022 08:15:04 -0600 (CST) Date: Fri, 11 Nov 2022 08:15:04 -0600 From: Justin Pryzby To: David Christensen Cc: Bharath Rupireddy , Ian Lawrence Barwick , Michael Paquier , Matthias van de Meent , pgsql-hackers@postgresql.org Subject: Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL Message-ID: <20221111141504.GF16809@telsasoft.com> References: <20221104183838.GD16921@telsasoft.com> <20221108224519.GH3775@telsasoft.com> <20221109141446.GN3775@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Nov 09, 2022 at 02:37:29PM -0600, David Christensen wrote: > On Wed, Nov 9, 2022 at 2:08 PM David Christensen wrote: > > Justin sez: > > > I was wondering if there's any reason to do "CREATE DATABASE". The vast > > > majority of TAP tests don't. > > > > > > $ git grep -ho 'safe_psql[^ ]*' '*pl' |sort |uniq -c |sort -nr |head > > > 1435 safe_psql('postgres', > > > 335 safe_psql( > > > 23 safe_psql($connect_db, > > > > If there was a reason, I don't recall offhand; I will test removing it > > and if things still work will consider it good enough. > > Things blew up when I did that; rather than hunt it down, I just left it in. :-) > +$primary->safe_psql('db1', < +my $blocksize = 8192; I think this should be just "my $blocksize;" rather than setting a value which is later overwriten. -- Justin