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 10:07:29
Message-ID: CAFj8pRBRCNFjVGoMz-uVDJ3jZT5nO_5KQx4WuG20t+pzXKjEGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

2014/1/14 Bruce Momjian <bruce(at)momjian(dot)us>

> On Mon, Jan 13, 2014 at 03:36:18PM +0100, Pavel Stehule wrote:
> > Agreed. I added a sentence in the first mention of GET DIAGNOSTICS,
> and
> > indicated it was generic for that command. What I also added was
> your
> > description of when to use := and =, but I put it in the C comments
> so
> > we have a record of it and if we need to expand the description or
> > behavior later.
> >
> >
> > I'll be more happy if a comment about GET DIAGNOSTICS statement will be
> in user
> > space.
>
> 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

Regards

Pavel

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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2014-01-15 15:35:35 Re: remove undocumented assign syntax from plpgsql doc
Previous Message Bruce Momjian 2014-01-14 20:21:28 Re: remove undocumented assign syntax from plpgsql doc