Search Postgresql Archives

Re: Refer to another database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Kalsch <andreaskalsch@xxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux