From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Put back a backwards-compatible version of sampling support func
Date: Mon, 18 May 2015 22:34:55 +0000
Message-ID: <E1YuTcd-000665-Ai@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Put back a backwards-compatible version of sampling support functions.
Commit 83e176ec18d2a91dbea1d0d1bd94c38dc47cd77c removed the longstanding
support functions for block sampling without any consideration of the
impact this would have on third-party FDWs. The new API is not notably
more functional for FDWs than the old, so forcing them to change doesn't
seem like a good thing. We can provide the old API as a wrapper (more
or less) around the new one for a minimal amount of extra code.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/4db485e75b9672126963ae4052b50f473b30a097
Modified Files
--------------
src/backend/utils/misc/sampling.c | 46 ++++++++++++++++++++++++++++++++++++-
src/include/commands/vacuum.h | 5 ++++
src/include/utils/sampling.h | 16 ++++++++++---
3 files changed, 63 insertions(+), 4 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Put back a backwards-compatible version of sampling support func
In-Reply-To: <E1YuTcd-000665-Ai@gemulon.postgresql.org>
References: <E1YuTcd-000665-Ai@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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