Re: cross-db queries (was Are we losing momentum?)

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: cross-db queries (was Are we losing momentum?)
Дата
Msg-id 200304161955.43451.shridhar_daithankar@nospam.persistent.co.in
обсуждение исходный текст
Ответ на cross-db queries (was Are we losing momentum?)  (Rob Butler <robert.butler5@verizon.net>)
Список pgsql-hackers
On Wednesday 16 April 2003 19:40, Rob Butler wrote:
>     a) create remoteview ... (all necessary information about remote machine
> and query) b) create view [local | remote] .... (necessary info)
>     c) create view remote-server.schema.table (necessary info)

That is not a good way. Oracle does/recommends a create synonym so that either 
a remote view or table can be treated as if it is a loacl table/view. This 
takes care of select/insert/update/delete etc. I think that is a better way 
of integrating remote objects in current database. 

Of course, if there are some standards regarding remote database object, they 
will take precedence over oracle style of syntax. But personally I  think 
oracle syntax is good enough. (I just check sql 92 syntax and it does have 
provision for remote database access)
Shridhar



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: First draft of new FE/BE protocol spec posted for comments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] First draft of new FE/BE protocol spec posted for comments