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 1oMIAK-00022y-80 for pgsql-general@arkaria.postgresql.org; Fri, 12 Aug 2022 00:04:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oMIAJ-000209-4h for pgsql-general@arkaria.postgresql.org; Fri, 12 Aug 2022 00:04:39 +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 1oMIAI-000200-OJ for pgsql-general@lists.postgresql.org; Fri, 12 Aug 2022 00:04:38 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oMIAF-0001w2-DJ for pgsql-general@lists.postgresql.org; Fri, 12 Aug 2022 00:04:38 +0000 Received: by mail-pl1-x62f.google.com with SMTP id y1so12650022plb.2 for ; Thu, 11 Aug 2022 17:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=GHDUrcpaapW9lIcmEjkaQMQIJ+/sUmzoFgA6MANEBmU=; b=YrZ3uBvVPvsmPabdQLF0B+YYM5XqkDeS5WculnAyIpCVzrlWPNXKirjTvBzOXgw3wm 9bKf3kSPK1gA6wDInHB/tKPu39W07rEWNb78FHoiAhOcAB2mQldpVbIL5zN5K9g0C60A phZOIq/xlwUcZbGt+TDkwEo87a3CK5byZoiwZEedrwVc9/pafp9qloFYZZeEvhS8iBVh 6/ylCxuzwbeEVd+M5xZCBG29djZtiVGYuZ8t3vjq/0U5VlpldOhYR2QSWDbeAv28Oe/d HbBzttNt6ZYrQ9hUu2YLUkgdl+GkWkT02U3BKVrvGDHtxFtmlRmutXWTLo/IYSxyjgt7 Y20Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=GHDUrcpaapW9lIcmEjkaQMQIJ+/sUmzoFgA6MANEBmU=; b=crDqkNDwxO5e7sz9GJDxKAUkGc5vn/GgTdLPCOukZpxfYu+U5ssuIdOGG+Vf44DtNz kWYBmOfZPNuep1OYgJZuBZRMt3uuchai67kXbpwwYPBKg1KkMDWpjB1np5/L9aUyrbUh fkM1Zd/wDPljSxwvOKxIVhXlu3SZSEk10CwB+Dja0KiJfgDYbgoGW/+rkhIMu50cqky6 NkXc1L0yUW+H+wCIqblmExB+NdAHFs/Z01w87QJ0UV5l5O9phIBTgzmYBnrXIgZSsbOg q0yW9Q9RaLWn6lckum5WlSSWct1zzldbq116SnxYgwKCroCNrTZrrWBH8ufvFCcuOLbZ Fb9A== X-Gm-Message-State: ACgBeo3pr0CIRxe4Ej6iVo1W/j7ZDbjjENnfU5FT8cA3vo5y4Td7+WQ5 wcU99nh1PlfM/J9mni28QHY= X-Google-Smtp-Source: AA6agR7VgzDmPN85Q4NY1N7H5v2oVTQLjF1AqgP4035ywmGkp5NPMqlApON2CvnlZ6thTWu3d/iZIw== X-Received: by 2002:a17:90b:1d0a:b0:1f5:76c0:f142 with SMTP id on10-20020a17090b1d0a00b001f576c0f142mr11052439pjb.192.1660262672907; Thu, 11 Aug 2022 17:04:32 -0700 (PDT) Received: from jrouhaud (2001-b011-1006-bb42-956c-5d6b-4078-3f7d.dynamic-ip6.hinet.net. [2001:b011:1006:bb42:956c:5d6b:4078:3f7d]) by smtp.gmail.com with ESMTPSA id f12-20020a170902e98c00b0016bee668a5asm246613plb.161.2022.08.11.17.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 17:04:32 -0700 (PDT) Date: Fri, 12 Aug 2022 08:04:29 +0800 From: Julien Rouhaud To: Bryn Llewellyn Cc: "David G. Johnston" , Karsten Hilbert , pgsql-general list Subject: Re: Surprising results from current_role in a "security invoker" trigger function in a "cascade delete via FK" scenario Message-ID: <20220812000429.th7jryex6bntbikj@jrouhaud> References: <6EA46B7D-7775-4524-96EC-E32599AA46EC@yugabyte.com> <615A1F2A-EB13-43D8-A97C-6344DD9C892F@yugabyte.com> <98604D47-FBA4-41FF-93D0-96167F1EC14D@yugabyte.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Aug 11, 2022 at 04:20:20PM -0700, Bryn Llewellyn wrote: > > Nobody has told me how an outsider like me can deliver such a .zip file, > together with its typographically nuanced external documentation, to readers > of plsql-general. So this is what I'll do: You mentioned previously that "Email attachments don't make it to the archive for posts to this list", but they should. It seems that you're using apple mail, which is famous for having such problems, see [1] for instance. Using a different MUA, or configuring apple mail to correctly put attachment as attachment will solve this problem. [1]: https://www.postgresql.org/message-id/CABUevEwEw35g7n3peoqmpWraQuRvounck7puDUWU-S-%3DyfsoEA%40mail.gmail.com