Обсуждение: pgsql: docs: update PL/pgSQL docs about the use of := and =

Поиск
Список
Период
Сортировка

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

От
Bruce Momjian
Дата:
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(-)


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

От
Andrew Dunstan
Дата:
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(-)
>
>



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

От
Bruce Momjian
Дата:
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. +

Вложения