db alias - Mailing list pgsql-general

From Gauthier, Dave
Subject db alias
Date
Msg-id 0AD01C53605506449BA127FB8B99E5E10F18D9AE@FMSMSX105.amr.corp.intel.com
Whole thread Raw
Responses Re: db alias
Re: db alias
List pgsql-general

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. 

pgsql-general by date:

Previous
From: Igor Neyman
Date:
Subject: Re: TYPE TABLE OF NUMBER
Next
From: Guillaume Lelarge
Date:
Subject: Re: db alias