If there are multiple databases, say db1 and db2. And currently we are in db1, can we create table in db2 (without switching databases)? Is there any query to do this? - Paresh
On Mon, Oct 24, 2005 at 11:32:55PM +0530, Paresh Bafna wrote: > If there are multiple databases, say db1 and db2. > And currently we are in db1, can we create table in db2 (without > switching databases)? > Is there any query to do this? This question seems off-topic for pgsql-hackers. The mailing list's description says: The PostgreSQL developers team lives here. Discussion of current development issues, problems and bugs, and proposed newfeatures. If your question cannot be answered by people in the other lists, and it is likely that only a developer willknow the answer, you may re-post your question in this list. You must try elsewhere first! You could use contrib/dblink, but perhaps you should be using schemas instead of separate databases. -- Michael Fuhr
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера