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 1npY6j-0004w6-Lu for pgsql-hackers@arkaria.postgresql.org; Fri, 13 May 2022 16:25:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1npY6i-0004AW-HY for pgsql-hackers@arkaria.postgresql.org; Fri, 13 May 2022 16:25:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npY6i-00047E-7R for pgsql-hackers@lists.postgresql.org; Fri, 13 May 2022 16:25:36 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1npY6g-0001kq-12 for pgsql-hackers@postgresql.org; Fri, 13 May 2022 16:25:35 +0000 Received: by mail-lj1-x236.google.com with SMTP id s27so10911322ljd.2 for ; Fri, 13 May 2022 09:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Ye/TO1bSZ4uKi/Y5oYkHnkslEo59pXpPzBLF7KNQc4=; b=qnBLrc1hmMYy5o9W4LYYQMOOrObRiils9djiWARz6Wxn/724fJOyK+rqXIEaE0YHVk xX9quhUJSdfDzw+QLccllhRJkvLUEwjKmLFHSam/f4mRz6IvmhMUPnXMajd7hZK+B0Rc fiNXxXzmqS3+shEa2ivaNPjWvTnA7wd0VrxmoT6WEJrNqF8odWhxMj+NrxBq+DNcbEnn ajB2FhCsRQSJAOGl5VP0zvUNagMY3QDNmaNk/Crqa1u2RZ9I5nsnnoysJHeKu/Iw45pW BWGvj7SY9WQoqFEsBdor+a9TaAHL/I1+tVTx9HcHHz5o1BQSEksLLvcmLWSTWVGAEbxG FF6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Ye/TO1bSZ4uKi/Y5oYkHnkslEo59pXpPzBLF7KNQc4=; b=xfgxK6cP21EmDJGSc3zxuqj+Yb5G1YGlFPIsVQTvDGIWFT+8/p6ZV5+wR3p1kt5DhN X+1837XW9dZHueJZYRY6Fbcoq1bobfOHmQw4osBfIdq4QkL3JLNMS5rmrzTQopdoHw2+ GFdBhTBHFcW++rcYRze0qiI5tGb5jQTvzqlkHsn/asuC07UweuDDayoR7Pj3TYsED6Ax c9HAs2dNDf5GZAjLnotOlESbbtOGp0Nk5CiwdxB8H5U4D365MJ3bediAVSDDSZQwcoI2 H2GeGOllLB5Ua4hQhKVdOXNFJBEA/u2qEYFXqPp2sk9+HSagMwVGJj3fih44rKhg7dFM Nj1A== X-Gm-Message-State: AOAM530GJL5rWCJzepti1/Hgg3UlDYhChD4/Gnem1xmjYzZAEASVRcXb E3+lc3rzEIXIPXaiv5M6duYuJNEBV7QaQsbAi/di4dBj X-Google-Smtp-Source: ABdhPJyJlXDTbEYhFXpJ5V4LeCo36BJ3Iu6idF/xo7bSifj3x662pdCLWzwsagEZSTML9iG0uM9UT/nINt8bykHpkmo= X-Received: by 2002:a2e:83c9:0:b0:24d:a95d:7b7a with SMTP id s9-20020a2e83c9000000b0024da95d7b7amr3495756ljh.254.1652459132582; Fri, 13 May 2022 09:25:32 -0700 (PDT) MIME-Version: 1.0 References: <20220512034010.4oqa76pasrulkw32@alap3.anarazel.de> <20220512234207.pwwp6q33f72byet2@alap3.anarazel.de> In-Reply-To: From: Robert Haas Date: Fri, 13 May 2022 12:25:21 -0400 Message-ID: Subject: Re: Comments on Custom RMGRs To: Simon Riggs Cc: Andres Freund , Jeff Davis , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, May 13, 2022 at 8:47 AM Simon Riggs wrote: > > Note that I'm *not* against making checkpoint extensible - I just think it > > needs a good bit of design work around when the hook is called etc. > > When was any such work done previously for any other hook?? That isn't needed. I think almost every proposal to add a hook results in some discussion about how usable the hook will be and whether it's being put in the correct place and called with the correct arguments. I think that's a good thing, too. Otherwise the code would be cluttered with a bunch of hooks that seemed to someone like a good idea at the time but are actually just a maintenance headache. -- Robert Haas EDB: http://www.enterprisedb.com