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 1pP805-0005JX-2Q for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Feb 2023 20:22:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pP802-0000ol-Og for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Feb 2023 20:22:02 +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 1pP802-0000nr-Dd for pgsql-hackers@lists.postgresql.org; Mon, 06 Feb 2023 20:22:02 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pP7zy-0001Mo-Nw for pgsql-hackers@postgresql.org; Mon, 06 Feb 2023 20:22:00 +0000 Received: by mail-ej1-x629.google.com with SMTP id qw12so37699705ejc.2 for ; Mon, 06 Feb 2023 12:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7NnNsYCNDqJBcWVzHm2DDcpkGpmR72rOrnds5fuxQOk=; b=pdm+7BStPYilE3UGWYXcynwvz/8gB3C6HKrjPEK4y7eM3zEJmWzJ8c5ZcvUi6KwzHF rR/rwNJMdrl0u/XzzCaVYlH0+WBzIJjm9nd7gYV4qWS3TP+7mEwyWjx+sEm0y+xIVWcK aOeUR/4j+stzzI25Xwr0pOnExYtpU362hN6rfMNDnfP6kmYBatDHwuLvxwH3Cu+1lYrp iK1tINSmmJkrkQ858rYH3iMnWYMRheapD6u89S3c3NNXdxXYi6KudRPvE14onrUTvvdT iWUDEOzPwBA1Qe/xrDCMng5ie96d23nJP67Zc8Ps4Fm9iQlB5ynRbsk+IDsSswz4MNq5 6dLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=7NnNsYCNDqJBcWVzHm2DDcpkGpmR72rOrnds5fuxQOk=; b=XGV9n4f92wrJbWXVWK2Eqm3+eAejHHwDAz+SRJQN8YKp2QxWjWytIQfLBCp5iP0m+t yfx31t2s1ouNfvsdA7SP5uACjxvEQUnlDc0yVQ6t7FRD6imRRRaE5k8GmDb+V5X7M3Lg rmYWEUQsl7b+a5QpBdV5nfcOhsAEaBcptcFlv3TUXSAf+wYT/VT428cW84lA4M8WsS52 t11kRiQ+IWol0wPQPjqSsMV3ryxWNCIzgR+PK20YaoQ9kjm8mU+hcrkVxm3gk7BzpQb6 39w5vwGSEV9rxoRm27hNMjqmKsVE4mYDZygSyJ0HyzHrPYCxZf04SpiFBl0xtkgYQwUQ bTzQ== X-Gm-Message-State: AO0yUKXIW+B5/FBGqDgiC0tDWv1QKktEhkp9yOrHGsJSTys6rGIGRXTN ac0NlULswtqOZ8z6dH0rEKQBr0AlDWYvyavLJwc= X-Google-Smtp-Source: AK7set9pu3QLXJrPDUMruOmsg5o9MPo+wufB4SS7XQ5pJRD6HGVxnePI668mymXXWjSbu/+z0MT0oNnIIh5LojFxeIg= X-Received: by 2002:a17:906:3285:b0:87b:dbb8:7918 with SMTP id 5-20020a170906328500b0087bdbb87918mr196365ejw.186.1675714917229; Mon, 06 Feb 2023 12:21:57 -0800 (PST) MIME-Version: 1.0 References: <20230206104917.sipa7nzue5lw2e6z@alvherre.pgsql> In-Reply-To: From: Nikita Malakhov Date: Mon, 6 Feb 2023 23:21:45 +0300 Message-ID: Subject: Re: Pluggable toaster To: Matthias van de Meent Cc: Aleksander Alekseev , pgsql-hackers , Alvaro Herrera , vignesh C , Jacob Champion , Andres Freund , Robert Haas , Greg Stark , Teodor Sigaev Content-Type: multipart/alternative; boundary="00000000000062e73805f40dc899" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000062e73805f40dc899 Content-Type: text/plain; charset="UTF-8" Hi, It'll be great to see more opinions on the approach as a whole. >The problem that I see being raised here, is that there was little >discussion and no observed community consensus about the design of >this complex feature *before* this patch with high complexity was >provided. >The next action that was requested is to take a step back and decide >how we would want to implement type-aware TOASTing (and the associated >patch compression dictionaries) *before* we look into the type-aware >toasting. We decided to put this improvement as a patch because we thought that the most complex and questionable part would be the TOAST implementations (the Toasters) itself, and the Pluggable TOAST is just a tool to make plugging different TOAST implementations clean and simple. -- Nikita Malakhov Postgres Professional https://postgrespro.ru/ --00000000000062e73805f40dc899 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

It'll be great= to see more opinions on the approach as a whole.

= >The problem that I see being raised here, is that there was little
&= gt;discussion and no observed community consensus about the design of
&g= t;this complex feature *before* this patch with high complexity was
>= provided.
>The next action that was requested is to take a step back = and decide
>how we would want to implement type-aware TOASTing (and t= he associated
>patch compression dictionaries) *before* we look into = the type-aware
>toasting.

We decided to = put this improvement as a patch because we thought
that the most = complex and questionable part would be the TOAST
implementations = (the Toasters) itself, and the Pluggable TOAST is=C2=A0
just a to= ol to make plugging different TOAST implementations clean
and sim= ple.

--
Nikita Malakhov
Pos= tgres Professional=C2=A0
--00000000000062e73805f40dc899--