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 1mLM3p-0007eI-LQ for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Sep 2021 08:57:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mLM3o-0007Fa-Lh for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Sep 2021 08:57:32 +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 1mLM3o-0007FS-0k for pgsql-hackers@lists.postgresql.org; Wed, 01 Sep 2021 08:57:32 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLM3k-0007pX-8i for pgsql-hackers@lists.postgresql.org; Wed, 01 Sep 2021 08:57:31 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 958CB5C0223; Wed, 1 Sep 2021 04:57:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 01 Sep 2021 04:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=LjY6pW9e4k2iq5314BDZ1s/rzCwXOOpyxkk+i7ETb 1I=; b=h1kD/VAtQK2Sg8g3sJeIX1i0aHd/rbe1p9LLeGhML2knhSQsfKmvrVrfB qddXVtLcCh8lS63peIpHj6wm31uYqvz4m8HjLXTdOLkJf2KpZuRGl8h00Vsf/Eeu coaO92kB7sNLAUHdP5XdyluD3qOZnjZL7c41/UI8LcE1B6fuu5GWHrtJdLKp0saW g1tm19rZu45MqgFKnQQJRarCOm3P80fOlhTygB80SIzLiXQvCDoEaW/tg9BBzKfP e+AjerrhcliavuZwF9MyZIMKHpykHM/dHOMyqk/Gq8HE6MqIwTyl5HoAbMOEGrWK 7EPoeG+Rhm2QNqQNkF7FlY/TkkzPw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvfedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefheenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhephfefleefueevuddvffeh jedtjeejgfelhfdtvdffheeludetudegfeeftdffffejnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht segvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Sep 2021 04:57:22 -0400 (EDT) Subject: Re: Kerberos delegation support in libpq and postgres_fdw To: Peifeng Qiu , "pgsql-hackers@lists.postgresql.org" Cc: Magnus Hagander , Stephen Frost , Tom Lane References: From: Peter Eisentraut Message-ID: <19afb899-318d-c61f-2de4-0e7dcbf5e0fd@enterprisedb.com> Date: Wed, 1 Sep 2021 10:57:20 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 22.07.21 10:39, Peifeng Qiu wrote: > I've slightly modified the patch to support "gssencmode" and added TAP > tests. For the TAP tests, please put then under src/test/kerberos/, instead of copying the whole infrastructure to contrib/postgres_fdw/. Just make a new file, for example t/002_postgres_fdw_proxy.pl, and put your tests there. Also, you can put code and tests in one patch, no need to separate. I wonder if this feature would also work in dblink. Since there is no substantial code changes in postgres_fdw itself as part of this patch, I would suspect yes. Can you check?