Re: help w/ a little naive brainstorming ...

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: help w/ a little naive brainstorming ...
Дата
Msg-id 20050325233456.GA69452@winnie.fuhr.org
обсуждение исходный текст
Ответ на help w/ a little naive brainstorming ...  (OpenMacNews <OpenMacNews@speakeasy.net>)
Ответы Re: help w/ a little naive brainstorming ...  (OpenMacNews <OpenMacNews@speakeasy.net>)
Список pgsql-general
On Fri, Mar 25, 2005 at 03:16:12PM -0800, OpenMacNews wrote:

> (1) does pgsql have/plan an equivalent of Oracle's External Tables?
>    <http://www.oracle.com/technology/products/oracle9i/daily/sept19.html>

"The External Table feature allows for flat files, which reside
outside the database, to be accessed just like relational tables
within the database: the flat-file data can be queried and joined
to other tables using standard SQL."

You can implement this with a set-returning function that reads an
external source (flat file, spreadsheet, other kind of database,
etc.).  See for example DBI-link:

http://pgfoundry.org/projects/dbi-link

With views and rules you might be able to implement update/delete
operations as well, although you wouldn't get transaction semantics.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: OpenMacNews
Дата:
Сообщение: help w/ a little naive brainstorming ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_index question