From: Gabriele Bartolini <Gabriele.Bartolini@2ndQuadrant.it>
To: Florian Weimer <fweimer@bfk.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database alias
Date: Wed, 24 Aug 2011 10:54:26 +0200
Message-ID: <fa646e9b1300e2a180de9bd11e133a5e@2ndquadrant.it> (raw)
In-Reply-To: <82ippnky8l.fsf@mid.bfk.de>
References: <82ippnky8l.fsf@mid.bfk.de>
On Wed, 24 Aug 2011 08:30:34 +0000, Florian Weimer <fweimer@bfk.de>
wrote:
> We've got some systems which use a historic database name and would
> like
> to transition them to our current naming scheme. Is there support
> for
> some form of database aliases?
If you are trying to make the database seen by clients under a
different name, probably the most practical solution would be to add a
PgBouncer layer in front of the clients which maps the old database name
to the new one.
http://wiki.postgresql.org/wiki/PgBouncer
Ciao,
Gabriele
--
Gabriele Bartolini - 2ndQuadrant Italia
PostgreSQL Training, Services and Support
Gabriele.Bartolini@2ndQuadrant.it - www.2ndQuadrant.it
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: Gabriele.Bartolini@2ndQuadrant.it, fweimer@bfk.de
Subject: Re: Database alias
In-Reply-To: <fa646e9b1300e2a180de9bd11e133a5e@2ndquadrant.it>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox