Re: Invalid remote sampling test in postgres_fdw.
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Corey Huinker <corey.huinker@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2025-09-01T00:05:52Z
Lists: pgsql-hackers
On Tue, Aug 12, 2025 at 08:58:47AM +0900, Michael Paquier wrote: > I would suggest waiting a bit for the resolution of the other bug, and > make sure that we have at least one reference to the trick with the DO > block. While the way you are writing the test is more readable, > there's also a case for keeping documented this trick in the tree in > the shape of a SQL sequence that does not depend on \gset and psql. I was looking again an this thread, and this argument feels a bit off because we have a test already posted on the thread, and there would be some past history. There is also the ease of debugging failures when the commands fail in the DO block. At the end, applied 0002 on HEAD. -- Michael
Commits
-
postgres_fdw: Use psql variables for connection parameters
- 36aed19fd990 19 (unreleased) landed
-
postgres_fdw: Fix tests with ANALYZE and remote sampling
- 327bd6111aed 16.11 landed
- e81a5031d51f 17.7 landed
- 2102667b3c1b 18.0 landed
- 783cbb6d5e8b 19 (unreleased) landed