| От | Tom Lane |
|---|---|
| Тема | Re: Refer to another database |
| Дата | |
| Msg-id | 15428.1249363669@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Refer to another database (Andreas Kalsch <andreaskalsch@gmx.de>) |
| Ответы |
Re: Refer to another database
|
| Список | pgsql-general |
Andreas Kalsch <andreaskalsch@gmx.de> writes:
> This is what I want to do: To refer to another database, like I can do
> it in MySQL.
You're too hung up on the word "database". MySQL "databases" are very
nearly equivalent to Postgres schemas. Use multiple schemas within
one Postgres database and be happy.
> - I have to reset the search_path very often. This is probably not very
> elegant, but will be my solution then ...
And in MySQL you do "use foo" often. What's the difference?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера