Re: possible typo on 8.2 manual - Mailing list pgsql-general

From Bruce Momjian
Subject Re: possible typo on 8.2 manual
Date
Msg-id 200702011920.l11JKjQ09902@momjian.us
Whole thread Raw
In response to possible typo on 8.2 manual  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-general
Richard Broersma Jr wrote:
> on the link:
> http://www.postgresql.org/docs/8.2/static/rules-update.html
>
> you will notice that from items are repeated. Is this correct?
>
> ...
>   FROM shoelace_arrive shoelace_arrive, shoelace_ok shoelace_ok,
>        shoelace_ok *OLD*, shoelace_ok *NEW*,
>        shoelace shoelace, shoelace *OLD*,
>        shoelace *NEW*, shoelace_data shoelace_data

This example has an alias for every table reference.  The ones where the
table reference and alias are the same, like "shoelace_ok shoelace_ok"
are not necessary and could be written just as "shoelace_ok", but either
is OK.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: What's the best way to index this table for speed?
Next
From: "John D. Burger"
Date:
Subject: Fwd: How to allow users to log on only from my application