Re: SQL/MED - core functionality

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SQL/MED - core functionality
Дата
Msg-id 1292332532.18176.6.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: SQL/MED - core functionality  (Shigeru HANADA <hanada@metrosystems.co.jp>)
Список pgsql-hackers
On mån, 2010-12-13 at 14:45 +0900, Shigeru HANADA wrote:
> Simple FDWs such as File FDW might not have concept of "user" on
> remote side.  In such case, it would be enough to control access
> privilege per local user with GRANT/REVOKE SELECT statement.

Right.  But it depends on the implementation.  You could, for example,
imagine a "userdir" FDW that reads from users' home directories.

> To allow omitting column definitions for that purpose, a way to create
> ero-column tables would have to be provided.  New syntax which allows
> FDWs to determine column definition would be necessary.
> 
> ex)
> -- Create foo from the remote table foo on the server bar
> CREATE FOREIGN TABLE foo SERVER bar;
> -- Create zero-column table foo
> CREATE FOREIGN TABLE foo () SERVER bar;

That syntax seems pretty obvious.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: hstores in pl/python
Следующее
От: Robert Haas
Дата:
Сообщение: Re: CommitFest wrap-up