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.96) (envelope-from ) id 1wDob8-003OZZ-09 for pgpool-general@arkaria.postgresql.org; Fri, 17 Apr 2026 19:11:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDob7-00Avc1-0e for pgpool-general@arkaria.postgresql.org; Fri, 17 Apr 2026 19:11:25 +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.96) (envelope-from ) id 1wDob7-00Avbt-07 for pgpool-general@lists.postgresql.org; Fri, 17 Apr 2026 19:11:25 +0000 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wDob4-00000001hXO-3wJA for pgpool-general@lists.postgresql.org; Fri, 17 Apr 2026 19:11:24 +0000 Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-8acb7f2586bso11020336d6.1 for ; Fri, 17 Apr 2026 12:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776453080; cv=none; d=google.com; s=arc-20240605; b=I/bYgcTgoLeL/8zvcfLS6NWaOqRJWjeclmfzAfBN69IcuWbK/I+J+HWpwDbWkA9cMm wBoCXeJneMh+SnL+TDuExxs5TNGmqVk2vTbO/pIvezD27VfkgaIEsMN8bWgXWvemSbnD gcsi6Y7r66KswTKs3dq5WjUMOcroD9f5vaTSEf6SvRLRjlWGjeXylFS3F7dpyHq2a6y2 iOzCtBIMYm6VntVjmvyVZwtm7frXzIISv6J1QTOZ28q/IasJ6coslgoCGx+3xZJCn5iY XQcNzRh7CiA86yy7RnOwMjYf2U6FGQmpcwGVuEg2IgOhnSJAHG6rC6lS9hJDRS8UzMgo WMkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=cfL/ln2TohVOIw78WYl1/ccL90A2GyiGTZSYBZcb5DQ=; fh=QXRwOxoT5ye2/huCVtbLLQOHdouN+t+tIhYvHNj1+CE=; b=MFvtFq5L482mJQun3d1AN7Edv0SthaOIr78jdjIjfydiYn3+VIiSFYw5RES3/07PuG 2w6YcwstG/fhwLUpcS+6BelylKttBn9tumkcNHnxusB394U8gj/qTahulwQk4emzrLXc 4f/64QNgI3ieyLvt9pEdZ/ZI6c8r+iWfCePMALfkFRHTrl/TN/Ug20S85SEONgDoF5gz e8pkZ2k7T6KEX7o7iKkfdJIhAQq3fD4TaNxb9jZjQTZidoVzk73inhjgFLlWUsXQZ4vI lNecA54VklFdCWonXGvyHoB3iMBGMItZTmt2ZzEXkpwK9wqOWqfJ8ZVBX8Yl3CVqSRiy G8hg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776453080; x=1777057880; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cfL/ln2TohVOIw78WYl1/ccL90A2GyiGTZSYBZcb5DQ=; b=DhjaEtNKQ1D2gTVVNZnM3pqjvYrZmQXoMevtGq4zw0a593qLzwlyL62GNRwmKW64cH 7bi7cUTrUlpog4dn3jgSKQYqPGv0usF9c3VIEK3IQqCjjc+gWcZ3qDIxQIWRqa9Q9J1a I1rtvqR4Uy/D45gYzuZEQ8CIqSaM24gqHFSjBeEHR0yzaRvA3IhMtifEjkO98++I4zB9 9O6t1xVeGIGM4EBOQzYr/V8tJI5GQbsxan9WgYSEH3lT9LJ429qr6KMamyFDRO2v+8+4 Zs7Lfcdli52EDSYy+G2mZs2EtEf4Y2WhzAsvpl97lPPaUfx6bE4Ct/UK8Kjfw4qSk0/D ZYLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776453080; x=1777057880; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cfL/ln2TohVOIw78WYl1/ccL90A2GyiGTZSYBZcb5DQ=; b=TCOAKVCIu12IhNpZF82BDvszcGWJzSu9wz23JPwdHOvsaAxJiDIaNomsYjLwpUEYfh J/0aFtJmEy/aAp8wr37JzDEwkLq6O7vW55SEu+zalxlwwYFd6ET9mm+XQcxSiN447QHq Gkz7Saz72nj/ajoSCIOz7sQHmIvErjrIQqBTQf8VjLsEP1jR+T4+1QoXN866pgj4HRrc oYBLFTLBryMsSjL23wYJphHdaM9srbq9bT3gPvmHiURc9o8CghL6ymW9oYbWPlsv8uKN Du3GB2M3lBds4kxE0FHLBEHHWX3Hqq6+889WE2k9tttymAHfj1Vm5HHxe5Lpojxl6TM5 PT2Q== X-Gm-Message-State: AOJu0YykYdYPM6oWrrNUTPV3FAbwyMtU5TGrGZhm6/0cIZ5KygQJ0i01 1NPJdVoIOwGiA9Rkgs5ztC06oqLnvkycx25kmdy4kSFAVSb71aOk4tdTtJ89IsiB+zolpYiGJm6 ByEqAd/XDRoW4aSOax1qTTsg+0uairuA61g== X-Gm-Gg: AeBDieu++trwWsKwUXd1uAiiZCD7tuHOCbCeiis0qciIC4UQzfToqrGsfb+++D4V8Eh mmZKsaasO5KXdwIJZeC3LUV3LBiHyChz3bEG3BX/Th0AbKHTtMCt8+UnuB9kytsuGS1+ppujVn0 BFOZciyH03fyD7YQ2GWuzWo0Aq369n2rGVORqtxsA2ONh0WUmb1HFdQnHixubcQYFWuTCEmTInV aAfoC2EubFnUlV0QYKotyRVmTA7iI0RK9Ob6rgHhcmEQLkW8GFb96AUOHC1plu0Ikx05Oa8VqJc 9KBL+rQCuS8XPXQjALgtBG4E9TVoGG8nrHYFO6QJQu/u/wKJ0Q== X-Received: by 2002:a05:6214:519d:b0:89c:4f67:8d17 with SMTP id 6a1803df08f44-8b0280c9032mr64363186d6.8.1776453080117; Fri, 17 Apr 2026 12:11:20 -0700 (PDT) MIME-Version: 1.0 From: Adam Blomeke Date: Fri, 17 Apr 2026 15:11:08 -0400 X-Gm-Features: AQROBzBdiMLEIkYca7vurisgfQwme_NKQPCxgBK22Qf-8PiupswDCYmji2lfNR0 Message-ID: Subject: Routing of FDW Queries to Secondary databases To: pgpool-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000ccf845064facb645" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ccf845064facb645 Content-Type: text/plain; charset="UTF-8" Hi, I understand that FDW queries don't get routed to the secondary databases since they occur within FETCH blocks. Is there any planned work to change this. I have one database I'm about to work on clusterizing, but this limitation makes pgpool impractical as the read side is only accessed via FDWs in all but a very small set of circumstances. Again, I realize the existing limitation; I'm just curious if there's any work on the horizon to add that capability. If not, I will likely need to explore other alternatives for one of the clusters I'm working on. Cheers, Adam --000000000000ccf845064facb645 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I understand that FDW qu= eries don't get routed to the secondary databases since they occur with= in FETCH blocks. Is there any planned work to change this.=C2=A0I have one = database I'm about to work on clusterizing, but this limitation makes p= gpool impractical as the read side is only accessed via FDWs in all but a v= ery small set of circumstances.=C2=A0

Again, I rea= lize the existing limitation; I'm just curious if there's any work = on the horizon to add that capability. If not, I will likely need to explor= e other alternatives for one of the clusters I'm working on.
=
Cheers,
= Adam
--000000000000ccf845064facb645--