pgsql: Fix stale comment about sample_frac adjustment

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix stale comment about sample_frac adjustment
Date: 2023-01-06 13:49:03
Message-ID: E1pDn5j-002Kwd-8E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix stale comment about sample_frac adjustment

A comment was left behind referencing sample rate adjustment removed
from 8ad51b5f44. So clean that up. While at it also remove the sample
rate clamping which should not be necessary without the clamping, and
just check that with an assert.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/951485.1672461744%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/211d80c065626d1a9188188d78ede85d799b93b1

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-01-06 16:12:13 pgsql: Invalidate pgoutput's replication-decisions cache upon schema re
Previous Message Peter Eisentraut 2023-01-06 13:37:21 pgsql: Fix typo