pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka.
@ 2009-04-17 15:33  Tom Lane <tgl@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: tgl@postgresql.org @ 2009-04-17 15:33 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka.

Modified Files:
--------------
    pgsql/src/backend/optimizer/path:
        costsize.c (r1.206 -> r1.207)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/costsize.c?r1=1.206&r2...)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Stabilize postgres_fdw test
@ 2024-03-30 13:20  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2024-03-30 13:20 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Stabilize postgres_fdw test

The test fails when RESET statement_timeout takes longer than 10ms.
Avoid the problem by using SET LOCAL instead.

Overall, this test is not ideal: 10ms could be shorter than the time to
have sent the query to the "remote" server, so it's possible that on
some machines this test doesn't actually witness a remote query being
cancelled.  We may want to improve on this someday by using some other
testing technique, but for now it's better than nothing.  I verified
manually that one round of remote cancellation occurs when this runs on
my machine.

Discussion: https://postgr.es/m/CAGECzQRsdWnj=YaaPCnA8d7E1AdbxRPBYmyBQRMPUijR2MpM_w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ecf741cfae0603d1df269d8b799455bbcaef86e7

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 5 +++--
contrib/postgres_fdw/sql/postgres_fdw.sql      | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-03-30 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-04-17 15:33 pgsql: Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka. Tom Lane <tgl@postgresql.org>
2024-03-30 13:20 pgsql: Stabilize postgres_fdw test Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox