From: Joshua D. Drake <jd@commandprompt.com>
To: Tony <tony@unihost.net>
Cc: Shridhar Daithankar <shridhar_daithankar@myrealbox.com>
Cc: tgl@sss.pgh.pa.us
Cc: pgsql-general@postgresql.org
Cc: pgsql-advocacy@postgresql.org
Subject: Re: [GENERAL] Is my MySQL Gaining ?
Date: Mon, 29 Dec 2003 13:00:12 -0800
Message-ID: <3FF095DC.9050309@commandprompt.com> (raw)
In-Reply-To: <3FF08B7F.2050105@unihost.net>
References: <Pine.LNX.4.44.0312271122130.20117-100000@brahma.wcg.mcgill.ca>
<200312291455.39251.shridhar_daithankar@myrealbox.com>
<3FEFFA05.905@unihost.net>
<200312291544.36047.shridhar_daithankar@myrealbox.com>
<3FF08B7F.2050105@unihost.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: jd@commandprompt.com, tony@unihost.net, shridhar_daithankar@myrealbox.com, tgl@sss.pgh.pa.us, pgsql-advocacy@postgresql.org
Subject: Re: [GENERAL] Is my MySQL Gaining ?
In-Reply-To: <3FF095DC.9050309@commandprompt.com>
References: <Pine.LNX.4.44.0312271122130.20117-100000@brahma.wcg.mcgill.ca> <200312291455.39251.shridhar_daithankar@myrealbox.com> <3FEFFA05.905@unihost.net> <200312291544.36047.shridhar_daithankar@myrealbox.com> <3FF08B7F.2050105@unihost.net> <3FF095DC.9050309@commandprompt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox