Re: Is my MySQL Gaining ? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Is my MySQL Gaining ?
Date
Msg-id 3FF095DC.9050309@commandprompt.com
Whole thread Raw
In response to Re: Is my MySQL Gaining ?  (Tony <tony@unihost.net>)
List pgsql-general

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



pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Is my MySQL Gaining ?
Next
From: Gianni Mariani
Date:
Subject: Re: Is my MySQL Gaining ?