pgsql: docs: update PL/pgSQL docs about the use of := and =

Started by Bruce Momjianover 12 years ago3 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

docs: update PL/pgSQL docs about the use of := and =

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7e1955b861a1be9ef2dfd6acdd50d0c6b5a75794

Modified Files
--------------
doc/src/sgml/plpgsql.sgml | 17 +++++++++++------
src/pl/plpgsql/src/pl_gram.y | 7 ++++++-
2 files changed, 17 insertions(+), 7 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Bruce Momjian (#1)
Re: pgsql: docs: update PL/pgSQL docs about the use of := and =

Surely this is wrong:

Equals (<literal>:=</>) can be used instead of SQL-standard
<literal>=</> for <command>GET DIAGNOSTICS</>.

I usually pronounce ":=" as "becomes". Other people read it as "is
assigned" and most refer to it by name as the "assignment operator" or
"assignment". Whatever it is it's surely not "equals".

cheers

andrew

On 01/16/2014 04:41 PM, Bruce Momjian wrote:

docs: update PL/pgSQL docs about the use of := and =

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7e1955b861a1be9ef2dfd6acdd50d0c6b5a75794

Modified Files
--------------
doc/src/sgml/plpgsql.sgml | 17 +++++++++++------
src/pl/plpgsql/src/pl_gram.y | 7 ++++++-
2 files changed, 17 insertions(+), 7 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#3Bruce Momjian
bruce@momjian.us
In reply to: Andrew Dunstan (#2)
Re: pgsql: docs: update PL/pgSQL docs about the use of := and =

On Thu, Jan 16, 2014 at 07:23:48PM -0500, Andrew Dunstan wrote:

Surely this is wrong:

Equals (<literal>:=</>) can be used instead of SQL-standard
<literal>=</> for <command>GET DIAGNOSTICS</>.

I usually pronounce ":=" as "becomes". Other people read it as "is
assigned" and most refer to it by name as the "assignment operator"
or "assignment". Whatever it is it's surely not "equals".

Oh, yes, fixed in the attached, applied patch.

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

+ Everyone has their own god. +

Attachments:

fix.difftext/x-diff; charset=us-asciiDownload+2-2