Typo in version check in postgresAcquireSampleRowsFunc

Поиск
Список
Период
Сортировка
Искать

Typo in version check in postgresAcquireSampleRowsFunc

От:
Etsuro Fujita <etsuro.fujita@gmail.com>
Дата:
Вложения:
Hi,

While working on postgres_fdw stats import's open item, I noticed
$SUBJECT.  Attached is a patch for fixing it.

Best regards,
Etsuro Fujita

Re: Typo in version check in postgresAcquireSampleRowsFunc

От:
Chao Li <li.evan.chao@gmail.com>
Дата:


> On Sep 28, 2026, at 19:38, Etsuro Fujita  wrote:
> 
> Hi,
> 
> While working on postgres_fdw stats import's open item, I noticed
> $SUBJECT.  Attached is a patch for fixing it.
> 
> Best regards,
> Etsuro Fujita
> 

LGTM. 90500 is for 9.5, there is 90600 for 9.6 also less than 95000.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/






Re: Typo in version check in postgresAcquireSampleRowsFunc

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 28 Sep 2026, at 13:38, Etsuro Fujita  wrote:

> While working on postgres_fdw stats import's open item, I noticed
> $SUBJECT.  Attached is a patch for fixing it.

Yikes.  +1 on fixing, a quick round of grepping didn't find any other
instances.

--
Daniel Gustafsson



Re: Typo in version check in postgresAcquireSampleRowsFunc

От:
Etsuro Fujita <etsuro.fujita@gmail.com>
Дата:
On Mon, Sep 28, 2026 at 8:49 PM Chao Li  wrote:
> LGTM. 90500 is for 9.5, there is 90600 for 9.6 also less than 95000.

Yeah, this causes an unexpected error when the remote server is 9.5 or 9.6:

alter foreign table ft1 options (add analyze_sampling 'bernoulli');
analyze ft1;
ERROR:  remote server does not support TABLESAMPLE feature

Will push.  Thanks for looking!

Best regards,
Etsuro Fujita


Re: Typo in version check in postgresAcquireSampleRowsFunc

От:
Etsuro Fujita <etsuro.fujita@gmail.com>
Дата:
On Tue, Sep 29, 2026 at 5:52 AM Daniel Gustafsson  wrote:
> > On 28 Sep 2026, at 13:38, Etsuro Fujita  wrote:
> > While working on postgres_fdw stats import's open item, I noticed
> > $SUBJECT.  Attached is a patch for fixing it.
>
> Yikes.  +1 on fixing, a quick round of grepping didn't find any other
> instances.

Cool!  Will push and backpatch.  Thanks for looking!

Best regards,
Etsuro Fujita


Re: Typo in version check in postgresAcquireSampleRowsFunc

От:
Etsuro Fujita <etsuro.fujita@gmail.com>
Дата:
On Wed, Sep 30, 2026 at 7:50 PM Etsuro Fujita  wrote:
> On Tue, Sep 29, 2026 at 5:52 AM Daniel Gustafsson  wrote:
> > > On 28 Sep 2026, at 13:38, Etsuro Fujita  wrote:
> > > While working on postgres_fdw stats import's open item, I noticed
> > > $SUBJECT.  Attached is a patch for fixing it.
> >
> > Yikes.  +1 on fixing, a quick round of grepping didn't find any other
> > instances.
>
> Cool!  Will push and backpatch.

Done.  Thanks again, Daniel and Chao!

Best regards,
Etsuro Fujita


FAQ