Re: remove undocumented assign syntax from plpgsql doc

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: remove undocumented assign syntax from plpgsql doc
Date: 2014-01-15 16:00:53
Message-ID: CAFj8pRCfiH4WewbhJKXGShiFEPtAW03UCQWnofzRymjF+u9B3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

2014/1/15 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>

>
>
>
> 2014/1/15 Bruce Momjian <bruce(at)momjian(dot)us>
>
>> On Wed, Jan 15, 2014 at 11:07:29AM +0100, Pavel Stehule wrote:
>> > I thought you would say that. :-) I don't see how this detail
>> makes
>> > sense in the sections related to the syntax usage, so I looked in
>> the
>> > section Porting from Oracle PL/SQL, and I don't see how it fits
>> there
>> > either.
>> >
>> >
>> >
>> > :)
>> >
>> > just notice - sorry for my English
>> >
>> > ==Assign==
>> > Using ":=" is preffered as assign statement due conformity with ADA
>> language (a
>> > plpgsql ancestor).
>> >
>> >
>> > ==GET DIAGNOSTICS==
>> >
>> > Using "=" is highly preferred due conformity with ANSI/SQL
>>
>> The problem is that these are philosophical issues that are not normally
>> covered in our docs. What I have done is to add a mention of which
>> option is compliant to the new text. Patch attached.
>>
>> Is GET DIAGNOSTICS defined in the standard for SQL/PSM only or for
>> generic SQL?
>>
>>
> I found this statement in ANSI SQL 92 - and few minutes searching - it is
> in generic SQL - today "SQL framework" part and it is enhanced in "SQL/PSM"
>

sorry s/SQL framework/SQL Foundation/

Regards

Pavel

>
> Regards
>
> Pavel
>
>
>> --
>> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
>> EnterpriseDB http://enterprisedb.com
>>
>> + Everyone has their own god. +
>>
>
>

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2014-01-15 16:32:59 Re: remove undocumented assign syntax from plpgsql doc
Previous Message Pavel Stehule 2014-01-15 15:55:11 Re: remove undocumented assign syntax from plpgsql doc