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 1okF7F-0005aU-PX for pgsql-general@arkaria.postgresql.org; Mon, 17 Oct 2022 01:40:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1okF7D-0007RQ-U6 for pgsql-general@arkaria.postgresql.org; Mon, 17 Oct 2022 01:40:27 +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 1okF7D-0007QH-Ho for pgsql-general@lists.postgresql.org; Mon, 17 Oct 2022 01:40:27 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1okF7B-0002p5-17 for pgsql-general@lists.postgresql.org; Mon, 17 Oct 2022 01:40:26 +0000 Received: by mail-pl1-x633.google.com with SMTP id d24so9474823pls.4 for ; Sun, 16 Oct 2022 18:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=OpnOKVLSAwHanimmkuR4qjHnZ4rYsYqOAHLQ5yQiMyU=; b=I708z46SvTu94Lc27sqEt9ggnah9Vqimim7jb2F1gCTupQqH8GT1dJNpBvA/M76xue ZQgGGbRXElqw5hQcxX1JJiTqH+N7c0frSNNH1DGzMCcJbc/KffNmPK3kxGXztj7XsnE+ uK++dryFSAswr2kVl9RIIzuOctQqJ3oFB/rMBzqbx5j3AyY12N3YEfiFYN2WDTiM46aI E2f2KTmYT9HRFkmze337kYW1HTN+PKufW2OTYSb4XKc0hd1iGlmzouARvuokDwvIok6U wqGn02aOm/FirCbKbLh7OxlOmFU4eqmjRpbMOtGdLk0wU5EKC1li1fRIJxpnz0K8jpMt Me6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding: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=OpnOKVLSAwHanimmkuR4qjHnZ4rYsYqOAHLQ5yQiMyU=; b=qoT4Pcpo/t4wUIzEa0X22DWdEhwiC1A8CFE7wiHoORym6OmUn2y0eBjUJVf7w2jwOM pj59GmlkpOWDi6SHQNISGuDBcPh4DDool5bWZQKXI3ZtKZNF8o3Aosssz4CeU2BTelmf 78ggaQewnGQ+2fPimiUqwTGotOhyq+elSVrjJKYxgVDeKNECUuD2zZlOx6dmWGxPN8Vr fxcG1UtUYd2A1gqcTMiAGfJe4PROR1EavMNolVIaX9dkKVIM9WFMeL5o+Q7aF8DcQZHf CU9tactXJN7+6VTvp8AZKOK5YPi2zneIeATgwY1EfCh2pNcZ645oz0F7tJTnQXh+X+Ft qXWg== X-Gm-Message-State: ACrzQf2+vhJ02N4BsUpaxyCkW4OlPW8IvsCqV2gCzsrVdsAi4h4z99G7 cAaVsazCYwA6mL/+96Tt6G8= X-Google-Smtp-Source: AMsMyM6a5sCVAHE5nrnlHe6DYo/YR4fifpxJjTybBnPWyJ5c2cZqhBZz9lavVOsyKSW8xOvGWRDb0g== X-Received: by 2002:a17:90b:33cc:b0:20a:7f32:9632 with SMTP id lk12-20020a17090b33cc00b0020a7f329632mr11065307pjb.149.1665970823879; Sun, 16 Oct 2022 18:40:23 -0700 (PDT) Received: from jrouhaud ([210.176.45.84]) by smtp.gmail.com with ESMTPSA id b21-20020a170902d41500b0017cbd70d4cbsm5282542ple.230.2022.10.16.18.40.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 18:40:23 -0700 (PDT) Date: Mon, 17 Oct 2022 09:40:20 +0800 From: Julien Rouhaud To: qiumingcheng Cc: pgsql-general Subject: Re: A question about leakproof Message-ID: <20221017014020.qpu2f5yy4lridhic@jrouhaud> References: <9cc93fdc-2f99-4963-b895-169135b742a8.qiumingcheng@aliyun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9cc93fdc-2f99-4963-b895-169135b742a8.qiumingcheng@aliyun.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Mon, Oct 17, 2022 at 09:15:20AM +0800, qiumingcheng wrote: > Hello, My questions are as follows: > Problem description > After testing, we don't find the difference between functions of > proleakproof=true and functions of proleakproof=false (the function is > described in pg_proc). Can you give specific examples to show that functions > of proleakproof=true are more secure or can prevent data disclosure than > functions of proleakproof=false. My related testing process is as follows > (the rsp_user and wumk used below are the two database users that have been > created). Have you looked at https://wiki.postgresql.org/wiki/What%27s_new_in_PostgreSQL_9.2#Security_barriers_and_Leakproof?