SQL Queries across multiple databases

Поиск
Список
Период
Сортировка
От Rajit Singh
Тема SQL Queries across multiple databases
Дата
Msg-id 20010126104640.A16802@studychoice.com
обсуждение исходный текст
Список pgsql-general
Hi,

I was wondering if it was possible to use psql, or another client, to perform SQL queries across multiple databases.
Wecurrently write no end of perl scripts to perform our operations across DBs - it'd be nice to have a method to do it
moresimply. 

I suppose I could do something like:

echo "select into temp table blah..." | psql db; pg_dump -t blah db | psql other_db

Is there another, more direct way of doing this, that anyone knows of?

Thanks in advance,
Rajit

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

Предыдущее
От: Gilles DAROLD
Дата:
Сообщение: Re: Connection pooling
Следующее
От: Gilles DAROLD
Дата:
Сообщение: Re: Connection pooling