X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6017EDA4D8 for ; Thu, 24 Nov 2005 18:54:24 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 22972-10 for ; Thu, 24 Nov 2005 22:54:26 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from challengelogistics.com.au (unknown [203.48.241.83]) by svr1.postgresql.org (Postfix) with ESMTP id E2050D838E for ; Thu, 24 Nov 2005 18:54:20 -0400 (AST) Received: from isis.challengelogistics.com.au ([192.168.160.31]) by sameagle with InterScan Message Security Suite; Fri, 25 Nov 2005 09:53:15 +1100 Received: from sandy01.challengelogistics.com.au ([192.168.160.3]) by isis.challengelogistics.com.au with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 Nov 2005 09:55:36 +1100 From: "Bath, David" Reply-To: dave.bath@unix.net To: pgsql-sql@postgresql.org Subject: Updatable views: any decent front-ends? Date: Fri, 25 Nov 2005 09:57:11 +1100 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511250957.13432.dave.bath@unix.net> X-OriginalArrivalTime: 24 Nov 2005 22:55:36.0843 (UTC) FILETIME=[2F0185B0:01C5F14A] X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.5.1048-14104.000 X-TM-AS-Result: No--9.900000-8.000000-31 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/234 X-Sequence-Number: 23485 (As this seems to be the general pg list, I'm posting here even though it is a front-end issue. Apologies.) While I can happily create rules on views to allow inserts, updates and deletes, I can't find a GUI front-end that understands that the view allows record edits that I can run on linux (whether through X or web-based doesn't matter) and simply open the relation and edit data without designing horrible forms with lots of code. I note that MS-Access allows this, as it asks for the field(s) that are unique and can be used for updating when you "attach" a table, but I don't have (or want) a Windows box or MS-Office. So.... 1) Does anybody know of a tool that allows easy editing of data in views? 2) Might it be useful to have a "contrib" module that has additional table that stores such information in a way the tools such as pgadmin, phpPgAdmin, OpenOffice etc could leverage? This would possibly be in a new well-known schema, maybe "accessory_catalog" and be a bit like the optional schema used by pgadmin. 3) Has anybody hacked common front-ends (such as phpPgAdmin) to do something like this. If I have to develop a hack (probably to phpPgAdmin), I will, but I'd be taking approach (2) as part of the solution, and would offer it to "contrib" so other pg-related tools could use it. The other thing I'd put into it would be an association between relation, attributes and short strings suitable for default screen prompts and report headings. I am being wrong-headed here? -- David T. Bath dave.bath@unix.net