Re: FOREIGN TABLE doc fix

Поиск
Список
Период
Сортировка
От Shigeru Hanada
Тема Re: FOREIGN TABLE doc fix
Дата
Msg-id 4DF5A161.5090308@gmail.com
обсуждение исходный текст
Ответ на Re: FOREIGN TABLE doc fix  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: FOREIGN TABLE doc fix
Список pgsql-hackers
Thanks for the review.

(2011/06/12 13:21), Robert Haas wrote:
> 2011/6/9 Shigeru Hanada<hanada@metrosystems.co.jp>:
>> Attached patch includes fixes for FOREIGN TABLE documents:
>
> I committed the changes to ALTER FOREIGN TABLE, but I think the
> changes to CREATE FOREIGN TABLE need more thought.  The first of the
> two hunks you've proposed to add doesn't seem necessary to me, and the
> second one seems like it belongs in a chapter on how to write a
> foreign data wrapper correctly, rather than here.

Agreed.  How about the section for IterateForeignScan() in "50.1.
Foreign Data Wrapper Callback Routines"[1] for the second hunk?  It
seems proper place to describe responsibility about applying NOT NULL
constraint, because it would be where the author works for the issue.
The section also mentions responsibility of column signature matching.

By the way, I found another document issue. "5.10. Foreign Data"[2] says
that FDW for PG is available alike FDW for files, but postgresql_fdw
won't be available for 9.1 release, at least as a bundled extension.
ISTM that such mention should be removed to avoid misunderstanding.

Please find attached the revised patch.

[1] http://developer.postgresql.org/pgdocs/postgres/fdw-routines.html
[2] http://developer.postgresql.org/pgdocs/postgres/ddl-foreign-data.html

Regards,
--
Shigeru Hanada

Вложения

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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Make relation_openrv atomic wrt DDL
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: wrong message on REASSIGN OWNED