Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 1D8591337B54 for ; Mon, 21 Mar 2011 00:38:38 -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 39705-06 for ; Mon, 21 Mar 2011 03:38:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id 519A71336FA7 for ; Mon, 21 Mar 2011 00:38:29 -0300 (ADT) Received: by qyk7 with SMTP id 7so2156806qyk.19 for ; Sun, 20 Mar 2011 20:38:29 -0700 (PDT) Received: by 10.224.192.4 with SMTP id do4mr2758841qab.241.1300678707506; Sun, 20 Mar 2011 20:38:27 -0700 (PDT) Received: from [10.0.1.200] (krb.hoozinga.com [173.162.180.129]) by mx.google.com with ESMTPS id s32sm1670957qco.2.2011.03.20.20.38.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Mar 2011 20:38:27 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Hot-standby/Reporting database. From: jonathan ferguson In-Reply-To: Date: Sun, 20 Mar 2011 23:38:25 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0515F2BB-0522-449C-848B-4E750F4D91BB@pandora.com> <1300483544.6860.48.camel@darkflame.weatherman.net> To: pgsql-admin@postgresql.org X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.6 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201103/207 X-Sequence-Number: 37079 hi. On Mar 20, 2011, at 9:05 PM, Jaime Casanova wrote: > On Sun, Mar 20, 2011 at 8:04 PM, Jaime Casanova = wrote: >> On Fri, Mar 18, 2011 at 4:25 PM, John P Weatherman >> wrote: >>> Has anyone run into this already and have an idea for a work around? = I >>> am primarily an Oracle guy and in that environment I would set up a >>> second DB with database links to the hot standby, >>=20 >> you can use the contrib module dblink for this: >> http://www.postgresql.org/docs/9.0/static/dblink.html >=20 > obviously you need to install the module libraries in both the master > and the slave and the sql functions that create objects in master only Perhaps I'm in the clueless n00b category, here, but how does: "dblink [] a module which supports connections to other PostgreSQL = databases from within a database session." Even approach solving the problem of Database Replication for Data = Warehousing aka Reports DB? dblink looks more like SSH or Telnet for DB access than a db replication = solution to me.=20 Please explain. Thanks. have a day.yad jdpf