Re: exceptional result of postres_fdw external table joining local table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: exceptional result of postres_fdw external table joining local table
Дата
Msg-id 2665266.1675697664@sss.pgh.pa.us
обсуждение исходный текст
Ответ на exceptional result of postres_fdw external table joining local table  ("Qu, Mischa, Majorel China" <mischa.qu@majorel.cn>)
Ответы 答复: exceptional result of postres_fdw external table joining local table  ("Qu, Mischa, Majorel China" <mischa.qu@majorel.cn>)
Список pgsql-bugs
"Qu, Mischa, Majorel China" <mischa.qu@majorel.cn> writes:
> But when I run some full table scans and found a problems. the results of the following sql were different.

> Method 1: directly join external table and local table
> select count(distinct user_id),count(distinct member_code)
> from a_fdw t1
> join b as t6 on t1.user_id=t6.tags ->> '10'::varchar(50)
> where coalesce(user_id,'') <> '';
> -- result: 50739 50845

What sort of plan is that query using?  If it's a merge join, I'd
bet that the problem is related to local and remote servers not
having the same default collation.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: WAL segments removed from primary despite the fact that logical replication slot needs it.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17776: Connections are terminated unexpectedly sometimes