[DOCS] Views and Privileges

2010-06-26 Thread Matthew Woodcraft
The fact that views run with the privileges of the view owner is a bit
hidden in the documentation.

It isn't mentioned in /3.2 Views/, which makes sense as privileges
haven't been introduced yet.

It is explained in /37.4 Rules and Privileges/, but I think most people
using views won't have reason to read the docs on rules.

I can't find any other reference to it.

How about having a section under /20. Database Roles and Privileges/ on
views and privileges?

-M-


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


[DOCS] high-availability.sgml: misplaced sentence

2010-06-26 Thread Erik Rijkers
The middle sentence in the 'Note:' doesn't make much sense there (maybe it does 
when you know
pg_standby).  In any case it seems better placed outside it.


Erik Rijkers





high-availability.sgml.diff
Description: Binary data

-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Re: [DOCS] high-availability.sgml: misplaced sentence

2010-06-26 Thread Robert Haas
On Sat, Jun 26, 2010 at 12:52 PM, Erik Rijkers  wrote:
> The middle sentence in the 'Note:' doesn't make much sense there (maybe it 
> does when you know
> pg_standby).  In any case it seems better placed outside it.

I think the reason why that sentence is there is to explain WHY you
shouldn't try to use pg_standby with the built-in standby mode.  I
agree that maybe the paragraph before the note could stand to be
fleshed out a bit - the phrase "a simple command" certainly might not
be totally clear to someone.  But it's important for the note to
mention why pg_standby would not be suitable.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs