X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D9DD314B27CC for ; Mon, 9 Aug 2004 14:20:47 -0300 (ADT) 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 96937-03 for ; Mon, 9 Aug 2004 17:20:39 +0000 (GMT) Received: from dhcp-7-248.ma.lycos.com (waltham-nat.ma.lycos.com [209.202.205.1]) by svr1.postgresql.org (Postfix) with SMTP id 7B0F814B27CB for ; Mon, 9 Aug 2004 14:20:29 -0300 (ADT) Received: (qmail 32370 invoked from network); 9 Aug 2004 17:38:30 -0000 Received: from dhcp-7-69.ma.lycos.com (HELO ?10.124.7.69?) (10.124.7.69) by dhcp-7-248.ma.lycos.com with SMTP; 9 Aug 2004 17:38:30 -0000 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <6B84FBA0-EA28-11D8-A672-000D9366F0C4@torgo.978.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: pgsql-docs@postgresql.org From: Jeff Subject: Suggestion on reorganizing functions Date: Mon, 9 Aug 2004 13:20:33 -0400 X-Mailer: Apple Mail (2.618) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/20 X-Sequence-Number: 2480 After some discussion on IRC about improvments that could be made to the documentation I have a suggestion. Note: I don't have much time to work on it and I'm not an sgml-wiz. (Note: Using .html names of things as I don't know what sgml makes what) The basic idea is to make the equivalent of sql-commands.html (A flat list of all SQL commands) but for functions. Usually when I need to go find functions it involves google. The flat list would allow a Joe User to come along and scroll down to find out what FOOBAR() is instead of going to functions.html and trying to decide what type of function FOOBAR is. The organization by category is useful (ie getting all date manip functions) but the flat list would also be quite useful - especially if you are a newcomer to PG and are trying to dissect some code. One idea to solve it would to have the flat list link to functions-foo.html#FOOBAR - this would allow both methods of organization and only having function definitions in one spot. Perhaps there is some other spiffy sgml way of defining the type of function FOOBAR() is inside the sgml? We could have it scan all the little sgml files for functions (ala ref/ files) and automatically make function-TYPE.html files? any thoughts? -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/