Re: minor SELECT doc patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: minor SELECT doc patch
Date
Msg-id 200303201900.h2KJ0DG01676@candle.pha.pa.us
Whole thread Raw
In response to minor SELECT doc patch  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Patch applied.  Thanks.

---------------------------------------------------------------------------



Neil Conway wrote:
> The documentation for SELECT is incorrect in a sense: the syntax for a
> join is defined as:
>
> from_item [ NATURAL ] join_type from_item
>     [ ON join_condition | USING ( join_column_list ) ]
>
> However, if the join_type is an INNER or OUTER join, an ON, USING, or
> NATURAL clause *must* be specified (it's not optional, as that segment
> of the docs suggest).
>
> I'm not exactly sure what the best way to fix this is, so I've attached
> a patch adding a FIXME comment to the relevant section of the SGML. If
> anyone has any ideas on the proper way to outline join syntax, please
> speak up.
>
> Cheers,
>
> Neil
> --
> Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_get_triggerdef #2
Next
From: Bruce Momjian
Date:
Subject: Re: psql patch