X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id AA2A99FB1C7 for ; Mon, 26 Jun 2006 15:50:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 81114-03 for ; Mon, 26 Jun 2006 15:50:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id 4111C9FB29B for ; Mon, 26 Jun 2006 15:24:55 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1Fuvrn-0004ea-B2 for pgsql-sql@postgresql.org; Mon, 26 Jun 2006 14:31:23 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 5E995417B; Mon, 26 Jun 2006 14:24:45 -0400 (EDT) Date: Mon, 26 Jun 2006 14:24:45 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Fwd: Start up question about triggers Message-ID: <20060626182445.GD20519@phlogiston.dyndns.org> References: <200606261359.k5QDxE2p004593@auth-smtp.hol.gr> <1151336286.4215.35.camel@state.g2switchworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1151336286.4215.35.camel@state.g2switchworks.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/269 X-Sequence-Number: 25505 On Mon, Jun 26, 2006 at 10:38:06AM -0500, Scott Marlowe wrote: > I bet it would be possible to hack pgpool to do this. Just have it > shoot all the queries that come in to it at the normal database, AND at > a text file or something like that. Now you're back to the same problem: it doesn't tell you what the database looks like. It tells you what commands were sent. What about triggers? Rules? For that matter, what about SELECT now() or SELECT nextval() ? -- Andrew Sullivan | ajs@crankycanuck.ca This work was visionary and imaginative, and goes to show that visionary and imaginative work need not end up well. --Dennis Ritchie