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:39:22 |
Message-ID: | CAFj8pRC_cRhpH3q-OHvUVrc0iX_zrDEKOXJgQ=U7U8jjgpgG+A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
2014/1/15 Bruce Momjian <bruce(at)momjian(dot)us>
> On Wed, Jan 15, 2014 at 04:55:11PM +0100, Pavel Stehule wrote:
> > 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"
>
> OK, patch updated.
>
ok
I don't understand last sentence of comment
! /*
! * Ada-based PL/SQL uses := for assignment and variable defaults, while
! * the SQL standard uses equals for these cases and for GET
! * DIAGNOSTICS, so we support both. FOR and OPEN only support :=.
! */
! assign_operator : '='
"FOR and OPEN only support :="
FOR statement nor OPEN statement doesn't use ":="
Regards
Pavel
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + Everyone has their own god. +
>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-01-15 20:36:04 | Re: remove undocumented assign syntax from plpgsql doc |
Previous Message | Bruce Momjian | 2014-01-15 16:32:59 | Re: remove undocumented assign syntax from plpgsql doc |