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 667D2D7F63 for ; Fri, 25 Nov 2005 11:57:11 -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 29952-03 for ; Fri, 25 Nov 2005 15:57:13 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 11B35D7E4C for ; Fri, 25 Nov 2005 11:57:06 -0400 (AST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr2.postgresql.org (Postfix) with ESMTP id 6F6D9F0BB7 for ; Fri, 25 Nov 2005 15:57:11 +0000 (GMT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EffwR-0004XW-B5 for pgsql-sql@postgresql.org; Fri, 25 Nov 2005 16:56:51 +0100 Received: from ppp-82-135-70-91.mnet-online.de ([82.135.70.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Nov 2005 16:56:51 +0100 Received: from spam_eater by ppp-82-135-70-91.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Nov 2005 16:56:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-sql@postgresql.org From: Thomas Kellerer Subject: Re: Updatable views: any decent front-ends? Date: Fri, 25 Nov 2005 16:54:53 +0100 Lines: 30 Message-ID: References: <200511250957.13432.dave.bath@unix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp-82-135-70-91.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <200511250957.13432.dave.bath@unix.net> 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/241 X-Sequence-Number: 23492 Bath, David wrote on 24.11.2005 23:57: > 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? You might want to try my SQL Workbench: http://www.sql-workbench.net It will not auto-detect the key columns for updating the view, but it will allow you to select them manually if needed (for update/delete). Maybe I'll add automatic detection of the keys in the near future (if I find the time) It is written in Java (Swing) and thus should (and does) work on Linux. Whether it qualifies as "decent" is up to you :) Thomas