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 1jdDVN-0008LW-LZ for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 13:51:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jdDVM-0006Zu-Ee for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 13:51:00 +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 1jdDVM-0006Zl-1H for pgsql-general@lists.postgresql.org; Mon, 25 May 2020 13:51:00 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jdDV1-0000uP-4r for pgsql-general@postgresql.org; Mon, 25 May 2020 13:50:59 +0000 Received: by mail-ed1-x531.google.com with SMTP id bs4so15077032edb.6 for ; Mon, 25 May 2020 06:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Nm6tXrI4/UDuR8ryk+zf7JN8ClztBvmlO/zOgHu4sx8=; b=wQRnZAqTzpan/yT0GSyPYL5C2BgYKa/5yTBBgvvoK9HkIHtOgCXcxMlH/02AweX7EZ /mMtV/i++qJmbJ7wnYjqwV06tMx4zbii3tOyrxTrX2sN4UhT/3IFNs+fWaNvIVXVK0dh rL4Mv1g6VIrdlSBxOsBl12rO59OKrCvLqwPPDFP2NWvjqfOP2ual9uBclS/ukN5mrLhK PrAFLiNUYl+nAm9eVrFeNbu2wnRT58mbiC6179BHvacsWWWwEEfkCSwwMttxzwSorK6N EovwcGELd2DssfqCas0cr2MVQprVU39qQ6+o/7NXmzSyO6ALHq5YFZcT58gyByeSwRQY CnJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Nm6tXrI4/UDuR8ryk+zf7JN8ClztBvmlO/zOgHu4sx8=; b=lniFL2pRt8OUa64v/kfy+TXcG4QGzCilAHE1HS4aCjYPVZS4+iMRJg+dp8VfC3zAzU qL+fxrNrPHd23ABF/jmlY6YSVMLEmYnjdaopTSq1m+/eNvF8dyxsYEjyCPVvW3Ie91iC Zk9qEbjWICb1c/PJgywK/N1eZn2psK1Xptnb2t+wrmJKDeZIfErOUxd5jyjdt+F0rH5x 4IoQTnjU1nAISpcK1CobiuGW/SN8hvcGo7ugfc7Lq5RjOKWbEsLSzWIJTi7hK3I2Kt9R b9cuMbZ1xhZDePewc9DZyE3IY9gN7xv75GStkAPdLqPdqwbl7d2CfFqiA8MWyNH0l8EA tTpA== X-Gm-Message-State: AOAM532lqCxLzmVFAJF89cHqV8jPrAxRWJ5+7cLLFsAuj1t0HlNDwtuK FO3Kjdq73HjuHj0Wj5faXl85+Q== X-Google-Smtp-Source: ABdhPJwTW45CoZ34qyVCi+ByrjHCFtSKyAwHH6OpKPIHYFGv5NIsziWsVNosf7v4NeMj/3Aonl6VfQ== X-Received: by 2002:a50:f086:: with SMTP id v6mr16049534edl.140.1590414638258; Mon, 25 May 2020 06:50:38 -0700 (PDT) Received: from localhost.localdomain (217-149-175-226.nat.highway.telekom.at. [217.149.175.226]) by smtp.gmail.com with ESMTPSA id h12sm14755421ejk.103.2020.05.25.06.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 May 2020 06:50:37 -0700 (PDT) Message-ID: Subject: Re: FDW and RLS From: Laurenz Albe To: Ted Toth , pgsql-general Date: Mon, 25 May 2020 15:50:37 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2020-05-22 at 08:02 -0500, Ted Toth wrote: > Will RLS be applied to data being retrieved via a FDW? ALTER FOREIGN TABLE rp_2019 ENABLE ROW LEVEL SECURITY; ERROR: "rp_2019" is not a table Doesn't look good. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com