Search Postgresql Archives

DB alias ?

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

 



Problem:  Some users (scripts actually) try to connect to a DB who's name is derived from environmental variables.  The DB doesn't exist (yet), and I want them to connect to a different DB for the time being.  Is there a way to define an alias for the existing DB that = the db name that doesn't exist?    Or is there a way to have PG fail over to a default DB should a DB connect fail?  I can implement the fail over outside PG, but those users who make a direct connect to the DB don't use that code.

 

Thanks in Advance 


[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