X-Original-To: pgsql-advocacy-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B0B15D1B471; Mon, 29 Dec 2003 21:00:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 78516-05; Mon, 29 Dec 2003 16:59:49 -0400 (AST) Received: from hosting.commandprompt.com (138.commandprompt.com [207.173.200.138]) by svr1.postgresql.org (Postfix) with ESMTP id EAFDCD1B465; Mon, 29 Dec 2003 16:59:46 -0400 (AST) Received: from commandprompt.com (clbb-109.saw.net [64.146.135.109]) (authenticated) by hosting.commandprompt.com (8.11.6/8.11.6) with ESMTP id hBTKxgg00652; Mon, 29 Dec 2003 12:59:42 -0800 Message-ID: <3FF095DC.9050309@commandprompt.com> Date: Mon, 29 Dec 2003 13:00:12 -0800 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030917 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tony Cc: Shridhar Daithankar , tgl@sss.pgh.pa.us, pgsql-general@postgresql.org, pgsql-advocacy@postgresql.org Subject: Re: [GENERAL] Is my MySQL Gaining ? References: <200312291455.39251.shridhar_daithankar@myrealbox.com> <3FEFFA05.905@unihost.net> <200312291544.36047.shridhar_daithankar@myrealbox.com> <3FF08B7F.2050105@unihost.net> In-Reply-To: <3FF08B7F.2050105@unihost.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/185 X-Sequence-Number: 3166 Tony wrote: > I already had in the first post I replied to, but at the risk of > sounding redundant, I'll say it again. > > Views: When I came to PG I didn't know what they were, saw no point > to them (still don't) why do you need a function to provide details of > a query when a more complicated query gives the same data? Are they > designed for people who don't like to type long queries? They are designed for several things IMHO. 1. So I don't have to type long queries. 2. So I can have a base query and just append where clauses, joins etc... as I need. 3. So I can provide permissions based on the view, not the table itself -- thus lending to a more flexible acl model. Sincerely, Joshua D. Drake -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC - S/JDBC Postgresql support, programming, shared hosting and dedicated hosting. +1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com