Re: [DOCS] create rule syntax

2005-05-20 Thread Robert Treat
On Thursday 19 May 2005 21:37, Neil Conway wrote:
> Kris Jurka wrote:
> > The manual shows slightly different variations for the create rule
> > syntax here and here:
> >
> > http://www.postgresql.org/docs/8.0/static/rules-update.html
> > http://www.postgresql.org/docs/8.0/static/sql-createrule.html
> >
> > The attached patches makes the first look like the second.
>
> Applied, thanks.

Sorry I missed this before, but the first examples use of create rule on 
*object* rather than *table* seems like something important enough to keep, 
since obviously rules can be on more than just tables. 

-- 
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [DOCS] create rule syntax

2005-05-20 Thread Neil Conway
Robert Treat wrote:
Sorry I missed this before, but the first examples use of create rule on 
*object* rather than *table* seems like something important enough to keep, 
since obviously rules can be on more than just tables. 
I can't get too excited about this. CREATE RULE uses "table" as well, 
and specifies that "table" really means "table or view". Similarly, the 
INSERT syntax summary talks about "INSERT INTO table ...", although of 
course you can insert into a view if the appropriate rule exists. A view 
is a table in more ways than one...

-Neil
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
   (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [DOCS] [patch] Typo in ECPG Docs

2005-05-20 Thread Neil Conway
Andreas Seltenreich wrote:
I just stumbled across a spurious indefinite article in the ECPG docs.
See the attached patch.
Patch applied to HEAD and REL8_0_STABLE. Thanks for the patch.
Speaking of indefinite articles, there seems to be some inconsistency
in using "a SQL ..." and "an SQL ..." throughout the docs. This could
probably be easily fixed using a script, but I'm not sure if I'm
missing some grammatical details here, since English isn't my native
language.
Good point, it would be good to make this consistent. I would guess "an 
SQL ..." is the correct variant, but I don't have an authoritative 
reference. AFAIK there is no grammatical difference, anyway.

-Neil
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster