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 4ADD79FA4A8 for ; Fri, 21 Jul 2006 13:27:10 -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 72707-04 for ; Fri, 21 Jul 2006 13:27:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 7B75A9FA25A for ; Fri, 21 Jul 2006 13:27:05 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Fri, 21 Jul 2006 16:27:04 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 21 Jul 2006 11:27:04 -0500 Subject: Re: System catalog table privileges From: Scott Marlowe To: Hilary Forbes Cc: Aaron Bono , pgsql-sql@postgresql.org In-Reply-To: <5.1.0.14.0.20060721171518.035c4008@mailserver.dmr.co.uk> References: <5.1.0.14.0.20060721133547.040c0e28@mailserver.dmr.co.uk> <5.1.0.14.0.20060721133547.040c0e28@mailserver.dmr.co.uk> <5.1.0.14.0.20060721171518.035c4008@mailserver.dmr.co.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1153499224.31664.7.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 21 Jul 2006 11:27:04 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.084 tagged_above=0 required=5 tests=AWL, SPF_PASS, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200607/281 X-Sequence-Number: 25855 On Fri, 2006-07-21 at 11:19, Hilary Forbes wrote: > Aaron > > Thanks for this one - I had actually wondered about doing that but the > trouble is that they say that they need up to the minute reports not > "as of last night". Indeed, I do have another app where I do just > that because I find that reports indexes/requirements are very > different to transactional type requirements. However, you have made > me make up my mind to see if I can persuade them to work on data that > is a day old. > > What we really need is a good graphical (Windows based) query/report > tool that allows us to configure the tables to be viewed etc etc and, > most importantly, is license free. There's fame for someone > there.... A couple of points. 1: You can still use a slave server, just look into slony. It's what we use, and it's quite reassuring to know that I can let Joe Sixpack loose with a query editor and not worry about him killing my main production database. 2: If you HAVE to let an untrusted user have access to your real database, then make them use views, and place some kind of limit in the view that keeps them from blowing things up with really ugly queries. That won't stop a truly determined person from DOSing your server, but will help. 3: Look at pentaho. It's got a standalone java version that will do a lot in the graphical (windowsish) realm.