From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
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-13 14:04:33 |
Message-ID: | 20140113140433.GA7868@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Mon, Jan 13, 2014 at 06:10:24AM +0100, Pavel Stehule wrote:
> I find the rules above so complex that I don't see how we can recommend
> a best syntax. What I did in the patch I just posted was to put the
> preferred operator first, but I don't see why we want to get into these
> details in the docs.
>
>
> just a note about preferred variant should be ok. Using ':=' in GET DIAGNOSTICS
> statement is just bad idea.
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.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
Attachment | Content-Type | Size |
---|---|---|
assign.diff | text/x-diff | 6.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2014-01-13 14:36:18 | Re: remove undocumented assign syntax from plpgsql doc |
Previous Message | Pavel Stehule | 2014-01-13 05:10:24 | Re: remove undocumented assign syntax from plpgsql doc |