Re: postgres_fdw behaves oddly

Поиск
Список
Период
Сортировка
Искать
От
Etsuro Fujita
Тема
Re: postgres_fdw behaves oddly
Дата
Msg-id
5405940F.4040906@lab.ntt.co.jp
Ответ на
Список
Дерево обсуждения
postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Bruce Momjian <bruce@momjian.us>
Re: postgres_fdw behaves oddly Robert Haas <robertmhaas@gmail.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Tom Lane <tgl@sss.pgh.pa.us>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: postgres_fdw behaves oddly Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
(2014/09/01 20:15), Etsuro Fujita wrote:
> While working on [1], I've found that postgres_fdw behaves oddly:
> 
> postgres=# create foreign table ft (a int) server loopback options
> (table_name 't');
> CREATE FOREIGN TABLE
> postgres=# select tableoid, * from ft;
>   tableoid | a
> ----------+---
>      16400 | 1
> (1 row)
> 
> postgres=# select tableoid, * from ft where tableoid = 16400;
>   tableoid | a
> ----------+---
> (0 rows)

> I think that one simple way of fixing such issues would be
> to consider unsafe to send to the remote a qual that contains any system
> columns.

I noticed the previous patch has overdone it.  Attached is an updated
version of the patch.

Thanks,

PS:
> [1] https://commitfest.postgresql.org/action/patch_view?id=1386

I'll update the patch in [1] on top of this version.

Best regards,
Etsuro Fujita
В списке pgsql-hackers по дате отправления
От: Álvaro Hernández Tortosa
Дата:
Сообщение: Re: PL/pgSQL 2
От: Pavel Stehule
Дата:
Сообщение: Re: PL/pgSQL 2
FAQ