| От | Guillaume Lelarge |
|---|---|
| Тема | Re: db alias |
| Дата | |
| Msg-id | 1338923090.1845.1.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | db alias ("Gauthier, Dave" <dave.gauthier@intel.com>) |
| Список | pgsql-general |
On Tue, 2012-06-05 at 18:59 +0000, Gauthier, Dave wrote: > Hi: I think I know the answer to this, but the desire/need is great enough to get confirmation here. > > Is there a way to alias a db name for purposes of redirecting connections? For example, you have 2 DBs, DBX and DBY.The users always connect to a DB alias called "USEDB". USEDB points to DBX today, changed to point to DBY tomorrow,transparent to the users. PostgreSQL doesn't give you that, but pgBouncer may be the tool you're looking for. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера