Re: remove undocumented assign syntax from plpgsql doc - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: remove undocumented assign syntax from plpgsql doc
Date
Msg-id 20140115153535.GA7607@momjian.us
Whole thread Raw
In response to Re: remove undocumented assign syntax from plpgsql doc  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: remove undocumented assign syntax from plpgsql doc  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-docs
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?

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

  + Everyone has their own god. +

Attachment

pgsql-docs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: remove undocumented assign syntax from plpgsql doc
Next
From: Pavel Stehule
Date:
Subject: Re: remove undocumented assign syntax from plpgsql doc