Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4AC52B5DC04 for ; Wed, 24 Aug 2011 06:00:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 45451-05 for ; Wed, 24 Aug 2011 09:00:28 +0000 (UTC) X-Greylist: delayed 00:05:56.327813 by SQLgrey-1.7.6 Received: from delta01.pnet.xcon.it (delta01.pnet.xcon.it [62.48.53.16]) by mail.postgresql.org (Postfix) with ESMTP id 09623B5DBF8 for ; Wed, 24 Aug 2011 06:00:27 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by delta01.pnet.xcon.it (Postfix) with ESMTP id 56C501033CC8D; Wed, 24 Aug 2011 10:54:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at delta01.pnet.xcon.it Received: from delta01.pnet.xcon.it ([127.0.0.1]) by localhost (delta01.pnet.xcon.it [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1BlauxBJjNqW; Wed, 24 Aug 2011 10:54:26 +0200 (CEST) Received: from webmail.xcon.it (delta02.pnet.xcon.it [62.48.53.98]) (Authenticated sender: gabriele.bartolini@2ndquadrant.it) by delta01.pnet.xcon.it (Postfix) with ESMTPSA id 646F210337301; Wed, 24 Aug 2011 10:54:26 +0200 (CEST) Received: from eggIB-wan.comune.prato.it ([193.43.108.2]) by webmail.xcon.it with HTTP (HTTP/1.1 POST); Wed, 24 Aug 2011 10:54:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 24 Aug 2011 10:54:26 +0200 From: Gabriele Bartolini To: Florian Weimer Cc: Subject: Re: Database alias In-Reply-To: <82ippnky8l.fsf@mid.bfk.de> References: <82ippnky8l.fsf@mid.bfk.de> Message-ID: X-Sender: Gabriele.Bartolini@2ndQuadrant.it User-Agent: [X]con Webmail/0.4.2 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/200 X-Sequence-Number: 38187 On Wed, 24 Aug 2011 08:30:34 +0000, Florian Weimer 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