Re: remove undocumented assign syntax from plpgsql doc

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: remove undocumented assign syntax from plpgsql doc
Дата
Msg-id
20140113024846.GA22464@momjian.us
Ответ на
Список
Дерево обсуждения
remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Tom Lane <tgl@sss.pgh.pa.us>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Tom Lane <tgl@sss.pgh.pa.us>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Tom Lane <tgl@sss.pgh.pa.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Bruce Momjian <bruce@momjian.us>
Re: remove undocumented assign syntax from plpgsql doc Tom Lane <tgl@sss.pgh.pa.us>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
Re: remove undocumented assign syntax from plpgsql doc Pavel Stehule <pavel.stehule@gmail.com>
On Sun, Jan 12, 2014 at 06:38:04AM +0100, Pavel Stehule wrote:
> 
> 
> 
> 2014/1/12 Bruce Momjian 
> 
>     On Sat, Jan 11, 2014 at 10:06:27PM +0100, Pavel Stehule wrote:
>     >
>     >
>     >
>     > 2014/1/11 Tom Lane 
>     >
>     >     Bruce Momjian  writes:
>     >     > Oh, I think you are right.  I have reverted the patch.  Attached is
>     >     > proposed documentation for '='.
>     >
>     >     Meh.  Variable initialization is only one of multiple cases
>     (assignment,
>     >     GET DIAGNOSTICS; maybe others, I've not examined the grammar).  Also,
>     >     if we do it like this, we're implying that both := and = are equally
>     >     preferred, which might not be the impression we want to leave.
>     >
>     >
>     > GET DIAGNOSTICS is defined by standard - and there "=" should be allowed
>     only -
>     > although we allow ":=" too. It is a embedded SQL statement - although it
>     is
>     > implemented as plpgsql statement.
> 
>     OK, docs updated for that.  I assume OPEN and FOR also can take := or =,
>     right?
> 
> 
> no, there are not used assign_operator
> 
> It is used only in DECLARE DEFAULT, ASSIGN and GET DIAGNOSTICS
>  

OK, patch updated and attached.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +
В списке pgsql-docs по дате отправления
От: Pavel Stehule
Дата:
От: Bruce Momjian
Дата:
FAQ