Re: Broken example in PL/PgSQL documentation - Mailing list pgsql-docs

From Fujii Masao
Subject Re: Broken example in PL/PgSQL documentation
Date
Msg-id CAHGQGwGA5nYH=LPW5g4LN3c1t1nqX1n9qpBOcmYSb1Q6zu_GwQ@mail.gmail.com
Whole thread Raw
In response to Re: Broken example in PL/PgSQL documentation  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-docs
On Fri, Oct 10, 2014 at 2:37 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>
>
> 2014-10-08 21:25 GMT+02:00 Marti Raudsepp <marti@juffo.org>:
>>
>> On Thu, Sep 4, 2014 at 3:06 PM, Marko Tiikkaja <marko@joh.to> wrote:
>> > Just came across a broken example in the docs
>>
>> +1. New version works. I would slightly prefer adding an alias to the
>> table:
>>
>>     RETURN QUERY SELECT s.quantity, s.quantity * s.price FROM sales AS s
>>                  WHERE s.itemno = p_itemno;
>>
>> Other than that, there's not much to review here, marking as "Ready
>> for Committer"
>
>
> This last patch is good. I it good fix of this problem - and usage of
> qualified identifiers is common and recommended solution.
>
> It is really ready for commiter.

Applied. Thanks!

Regards,

--
Fujii Masao


pgsql-docs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Broken example in PL/PgSQL documentation
Next
From: Phil Olson
Date:
Subject: Documentation for CREATE USER