Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1snOnz-003Dxn-8b for pgsql-general@arkaria.postgresql.org; Sun, 08 Sep 2024 20:46:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1snOny-0015hX-5F for pgsql-general@arkaria.postgresql.org; Sun, 08 Sep 2024 20:46:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1snOnw-0015f0-HD for pgsql-general@lists.postgresql.org; Sun, 08 Sep 2024 20:46:41 +0000 Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1snOnt-000BnN-5U for pgsql-general@lists.postgresql.org; Sun, 08 Sep 2024 20:46:39 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 97B59114012D; Sun, 8 Sep 2024 16:46:35 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Sun, 08 Sep 2024 16:46:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1725828395; x=1725914795; bh=xUYXd3VaKN+ryJvJtWuH5lPRCWdeFljmCzBg8kVGS9U=; b= hb33P2SnimSZ0hO+inCvhEYVGA9Bvh8FgvA3NnTDP1noA2X/W+Ft1OlAYPRY/Vgl I5dga8pp25S93JtphI5IHzyBG70i7O8ktnniYfHbcdFH6ATMH0Yjf+6dGbPnxWrJ M7qvwAZnx47NG5efrw7SwzEOH+3FxM9GzKGMa6apmhvuyT7+qeR/hPB9v6Fu3bLM aebWLyCRu02c1X0472ncwypbotg9n3+ozwCeiw57aQskza5VqWBcMu/OK+0Rm9Es PJpDnrS6VnghugFuhcFl4SE/6BscOyX5TqGwvIBraXcFbEfxw4xckjfaiYybCmZw /OkGoCF1T53UUXGAExw5tw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725828395; x= 1725914795; bh=xUYXd3VaKN+ryJvJtWuH5lPRCWdeFljmCzBg8kVGS9U=; b=p m0NudEfYwwE22b4qvAe6+hGaUo9+WUbvj2WniRGflaC8/eculS2HW7xbz0884NmL agABupVnNmR7OkH6KjFtl46w5WIQnNA1amivAG2GIFAWc3bCy6kk1Khcj3UByZ5M iPJS6RYZsqYORiPb9D8p51xMiP4dWyWNe4gTeVWYZu4iZxuufahX1ez4WGq6wibf FbC8V1P0HOS0jfz0uGaGMyZSaXNnY2D11ULkD7iMfZgzXVb0reUYgZxB6M20HcGf FA9FuxIWsAdmMF/sl16jBsU8UV9x40pzAo9svaDMpDcemwVo/oizcIo6smPpZ6ff n2dNFFF9J7vatPhIWOWpg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeihedgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepiedvhfeiheehgeeuieel jeeitedtjeehudegfeelkedvleekhedtgfeiffefkedunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtoheprgdrmhgrnhhtiihiohhssegtlhhouhgurdhgrghtvgifrgihnhgvthdr tghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsth hgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 8 Sep 2024 16:46:34 -0400 (EDT) Message-ID: Date: Sun, 8 Sep 2024 13:46:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: postgresql FDW vs dblink for DDL To: Achilleas Mantzios , "pgsql-general@lists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/8/24 13:04, Achilleas Mantzios wrote: > Hi > > for remote DDL execution (such as CREATE TABLE) is dblink my only option? You will need to define in what context you are considering options. For instance you can do remote DDL operations by passing a command or script via psql. > > thanks > > > > -- Adrian Klaver adrian.klaver@aklaver.com