Re: schema proxying virtual database

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: schema proxying virtual database
Date: 2009-09-13 15:11:44
Message-ID: m263bm3mmn.fsf@hi-media.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com> writes:

> my question is , is it a feasible idea to have some special kind of database
> in the postgresql cluster that mimics a schema of an existsing
> database.

Try abusing pgbouncer to this effect. Configure several pgbouncer
databases pointing to the same physical one, with different roles
e.g. having each their own search_path so that they first see their
application's schema.

Regards,
--
dim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Harald Fuchs 2009-09-13 15:23:38 Re: How to match sets?
Previous Message Rajesh Kumar Mallah 2009-09-13 15:04:07 schema proxying virtual database