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 1szinz-007e1n-JK for pgsql-general@arkaria.postgresql.org; Sat, 12 Oct 2024 20:33:39 +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 1szinw-009u25-2H for pgsql-general@arkaria.postgresql.org; Sat, 12 Oct 2024 20:33:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1szinv-009u1w-KV for pgsql-general@lists.postgresql.org; Sat, 12 Oct 2024 20:33:36 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1szino-000j57-46 for pgsql-general@lists.postgresql.org; Sat, 12 Oct 2024 20:33:35 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a99eb8b607aso94282166b.2 for ; Sat, 12 Oct 2024 13:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728765207; x=1729370007; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JFO7Cd8Tt/chwz2vIQZa41R4YyRoATsfGLmVf84JDss=; b=VDsfR8MsqEjrfp0FRZHKlCXbuyJyXEPuCQaE4c6ITgfPD2QrRGQqHLpYg/51minSIB i6BF4A/rDEfMfe7W7//44sBY/pHoD4Qkq89/yoRc+vqY6MtIgERqPQ9yvePtUgK8zBMC m9iQ1qlpyyka6gPh9NyNQbjSZoIqTkbZCEXEQjvG7tXX2ppP2Dpb0CLZfxUUeDBR0drQ vrgewTf0d7jXp2H9SOCx0d7T6n8rdPfCLv/K7/BswYdqm5f6oHCecMY/WjN3cefDBYga VSfhAc8BKj3s2hErDR+O87jlNTQ15S9+4ClIy1LdVo+MP5OBr+YaFjgMV0OrgQ8tWxgz vuCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728765207; x=1729370007; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JFO7Cd8Tt/chwz2vIQZa41R4YyRoATsfGLmVf84JDss=; b=hC0NKLOxmaaEud7eFJo3oVzAPGNOTQIgqmyfNTm15g2HmuYE5mJeEBJI6DVLb6CiLm fTjXPGFpLZnaMfwf9KDUHYWlHROPP37+DIQnEXsZfmFgn2pO8Ky+d1gINbFrAZ8JZO2D VrQrjXuKbN4+/arIENU62rpKBEmx8svBq12Ryw9dTaTidF4HbqbNJBaCEd4f6NQvleRr To68nyExzsS1WV0GQv5oh7LUYNLauECTo9A6zGROL4DI8/qRysVfiD3aRQXUa6Zv0dvJ 9bkX3Sk30J7Mn/ue2BT+ORMXRiLJN+GFph0C3FTuXIp7jzGy7xonUuFWAqzN3qdZw9yW 2aAQ== X-Gm-Message-State: AOJu0Yw/kRyAjn1C+nOK3ZQxp00BtOloNLQdEOoyE9Ttajhp5fce1DtS fvSTUO1+mMin1hFkUfLZgzA6uVFUJE07gCshk5+mfqRp6Kqq+/qN11/CbS6xtrZUwyZJtnoR4Av G2TmxlfWR3tVSmwvEvXt3q8J2UW0ecwk8 X-Google-Smtp-Source: AGHT+IGIwBti7fIwoPO+MMn8UAYLhwWIqmUSkfm2a/WrDIgBDNqeUZA/PqqFJW76d6i7uBY3SycuVJxFpEIRFq6wzzM= X-Received: by 2002:a17:907:7ba4:b0:a99:76cb:cedd with SMTP id a640c23a62f3a-a99b9303b4fmr505218966b.9.1728765207400; Sat, 12 Oct 2024 13:33:27 -0700 (PDT) MIME-Version: 1.0 From: Koen De Groote Date: Sat, 12 Oct 2024 22:33:16 +0200 Message-ID: Subject: Using FDW to connect to a more recent postgres version? To: PostgreSQL General Content-Type: multipart/alternative; boundary="0000000000001658ad06244d840d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001658ad06244d840d Content-Type: text/plain; charset="UTF-8" The documentation speaks only of compatibility in terms of connecting to older version: > postgres_fdw can be used with remote servers dating back to PostgreSQL 8.3. Read-only capability is available back to 8.1. But what about connecting to a foreign server that is more recent? Like pg14 connecting to pg17? Are the considerations in that case simply with new data types not being recognized? Or are there cases where the setup can be done, but queries won't behave as expected? Regards, Koen De Groote --0000000000001658ad06244d840d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The documentation speaks only of compatibility in ter= ms of connecting to older version:

>=20 postgres_fdw can be used with remote servers dating back to PostgreSQL 8.3. Read-only capability is available back to 8.1. <= br>

But what about connecting to a foreign server = that is more recent? Like pg14 connecting to pg17?

Are the considerations in that case simply with new data types not being r= ecognized? Or are there cases where the setup can be done, but queries won&= #39;t behave as expected?

Regards,
Koen = De Groote
--0000000000001658ad06244d840d--