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 1pHJRg-0005iM-4k for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Jan 2023 06:58:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pHJRe-0004b6-M2 for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Jan 2023 06:58:14 +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 1pHJRe-0004aw-Az for pgsql-hackers@lists.postgresql.org; Mon, 16 Jan 2023 06:58:14 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pHJRX-0004Mc-Gu for pgsql-hackers@lists.postgresql.org; Mon, 16 Jan 2023 06:58:13 +0000 Received: by mail-pj1-x1044.google.com with SMTP id gz9-20020a17090b0ec900b002290bda1b07so5816485pjb.1 for ; Sun, 15 Jan 2023 22:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=frEYtpzg1OEseezqTcDOBZl7KnhuRPnorMy7KCZsfYU=; b=LynZUgqfrRjYm4oHnYjQ6j/YTsE6brkRY4L5Aur04BLQRNHWCeeoIck2cEzYnNPIJJ 74b7KN+ie0S5wH1pwPIJyp2sXQT2ALkbWxck7nM9RVJUdMp5LUyjB636BiC2rmAV3Gyo 0N7+V2vpIaqtIu73m9PoXIgqrVvrnfAJ0BucWuUw86Lj5HYyZGtqYPW2D43q5pMjEDOB 7XJt6Yfz1vQxOAJIid59E9PzfIXL00tkrWqRyCtv7RZMEdQp8XbBR8a//F4e0gLl7CQA t6CzLB12DBH8G1w5Dc/7UxgBU01gkElYWzbmUjaei7ldQpYCJOl71/Bnt6NkifuWGyaz LnxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=frEYtpzg1OEseezqTcDOBZl7KnhuRPnorMy7KCZsfYU=; b=kZe4geQ35D/3F9GWhM3JwyIM9XV2R7AC6K43rQDHoDVQwLTaihmAh6p67rZgobNLjX RxwdjuIuQADsDogOyQ54Uwnv74rbyE9LXU/u2mMZcODirDbDbhF4dLz67cKfXE9OBmWD c3HwVA88TrI0ab6MxX9Kjbxu8BRzBwzUrKwI7xKD8IU37ehDOW8iBs/LFPonuBea680Z qYJ6uHwNytb8TeoeHBtwe7OovA2yRBY0CqDEOuA28hgp1/orhCM6/mqieH26u2DyG0PX L0cg2Nt3mB32+Z6eyDIl0e+WH5XZ9U7So58ynvOd5xb9UDFZaAAr4Y5dxKrcU5Lb1d/A rdHQ== X-Gm-Message-State: AFqh2kosHJerK9thIvGLsiehCwV5KXx+Rr4n6u3II3ayzhjlej+ne1H7 PTvXQzSG4f/3NgaI/DOg/tLc9chGvIIgzCijdUo= X-Google-Smtp-Source: AMrXdXtpJCAyXvCWa+PEk9RzDoCYt7nCyOQZGmASMIJwlwfPlbXgdIZTZalKe+3bfnwhfTUQIjgp2g== X-Received: by 2002:a05:6a20:4417:b0:b5:d780:ffe3 with SMTP id ce23-20020a056a20441700b000b5d780ffe3mr30034981pzb.15.1673852285082; Sun, 15 Jan 2023 22:58:05 -0800 (PST) Received: from [127.0.0.1] ([5.44.249.43]) by smtp.gmail.com with ESMTPSA id u14-20020a63ef0e000000b0046feca0883fsm15220745pgh.64.2023.01.15.22.58.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jan 2023 22:58:04 -0800 (PST) Date: Mon, 16 Jan 2023 14:57:55 +0800 From: Zhang Mingli To: Nathan Bossart Cc: PostgreSQL Hackers Message-ID: <0c92fbb5-b42a-4b80-824f-74220a185a81@Spark> In-Reply-To: <20230115161054.GA2582058@nathanxps13> References: <49bebf7a-059a-4750-ba30-3fe0a734e4e9@Spark> <959c08bb-3b3d-4143-b247-86527d5e5cc4@Spark> <20230115161054.GA2582058@nathanxps13> Subject: Re: Code review in dsa.c X-Readdle-Message-ID: 0c92fbb5-b42a-4b80-824f-74220a185a81@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="63c4f578_60ef0119_17004" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --63c4f578_60ef0119_17004 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline HI, On Jan 16, 2023, 00:10 +0800, Nathan Bossart , wrote: > On Mon, Jan 16, 2023 at 12:04:56AM +0800, Zhang Mingli wrote: > > So, they are all dead codes, provide a patch to remove them. > > I am proposing a new use of dsa_create, dsa_attach, and dsa_get_handle in > https://commitfest.postgresql.org/41/4020/. These might also be useful for > extensions, so IMHO we should keep this stuff. > > -- > Nathan Bossart > Amazon Web Services: https://aws.amazon.com OK, thanks. Regards, Zhang Mingli --63c4f578_60ef0119_17004 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
HI,

On Jan 16, 2023, 00:10 +0800, Nathan Bossart <nathandbossart=40gmail.c= om>, wrote:
On Mon, Jan 16, 2023 at 12:04:56AM +0800, Zhang Mingli wrote:
So, they are all dead codes, provide a patch to remove them.
I am proposing a new use of dsa=5Fcreate, dsa=5Fattach, and dsa=5Fget=5Fh= andle in
https://commitfest.postgresql.org/41/4020/. These might also be useful fo= r
extensions, so IMHO we should keep this stuff.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
OK, thanks.

Regards,
Zhang Mingli
--63c4f578_60ef0119_17004--