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 01FBAD1B481; Mon, 29 Dec 2003 21:05:22 +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 78888-07; Mon, 29 Dec 2003 17:04:33 -0400 (AST) Received: from adrian.mariani.ws (w100.z064003144.sjc-ca.dsl.cnc.net [64.3.144.100]) by svr1.postgresql.org (Postfix) with ESMTP id 9D019D1B49D; Mon, 29 Dec 2003 17:03:14 -0400 (AST) Received: from mariani.ws (IDENT:gianni@bulli.mariani.ws [216.98.238.112]) by adrian.mariani.ws (8.12.8/8.12.8) with ESMTP id hBTLH8r9010136; Mon, 29 Dec 2003 13:17:09 -0800 Message-ID: <3FF09692.6050502@mariani.ws> Date: Mon, 29 Dec 2003 13:03:14 -0800 From: Gianni Mariani User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-general@postgresql.org Cc: 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: 200401/18 X-Sequence-Number: 3200 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? Personally I find views useful because I can hide the details of the database internals from the application. Hence they provide an "interface" level abstraction. This is very important if you want to isolate the database and application development. I've never seen that stated in a document. > Stored Procedures: Sounds good in principle, but in what ways can I > benefit most (I understand this now) at the time of moving to PG, I > couldn't see the difference between writing my code in an a Stored > Proc or an API. I don't understand what you mean here/ > > > This isn't definitive list but more of a flavour of the obstacles I > hit when I first met PG. If I hadn't persevered (and many may not) > I'd have ended up with a PG server full of DBs designed and built as > if they were on a MySQL server. Yep - I see that alot.