Re: estimation problems for DISTINCT ON with FDW

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: estimation problems for DISTINCT ON with FDW
Date: 2020-07-02 20:19:43
Message-ID: 886075.1593721183@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Concretely, I now propose the attached, which seems entirely
safe to back-patch.

regards, tom lane

Attachment Content-Type Size
clamp-foreign-table-tuples-estimate.patch text/x-diff 1.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-07-02 20:27:13 Re: pg_read_file() with virtual files returns empty string
Previous Message Joe Conway 2020-07-02 20:05:23 Re: pg_read_file() with virtual files returns empty string