Re: REVIEW: WIP: plpgsql - foreach in
От | Pavel Stehule |
---|---|
Тема | Re: REVIEW: WIP: plpgsql - foreach in |
Дата | |
Msg-id | AANLkTi=Dxvp2z77UbCk8YF7EV1Fu0dF6c731XJcWTxCV@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: REVIEW: WIP: plpgsql - foreach in (Stephen Frost <sfrost@snowman.net>) |
Список | pgsql-hackers |
2011/1/29 Stephen Frost <sfrost@snowman.net>: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> See also >> http://archives.postgresql.org/pgsql-hackers/2010-12/msg01579.php >> which tries to draw a clear distinction between what FOR does and what >> FOREACH does. > > Thanks for that, somehow I had missed that post previously. I think I > can get behind the idea of FOREACH being used for 'vertical' > (multi-value in a single value) loops while FOR is used for 'horizontal' > (multi-row). This patch certainly needs to be improved to document > this, in the grammar, in the code via comments, and in the actual > documentation. It also needs to touch any place that talks about the > other kinds of loops to be sure that FOREACH is included and that it's > behavior is documented accordingly. Stephen, please, update documentation freely. Current documentation is really minimal. Regards Pavel > > Thanks again, > > Stephen > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAk1EZJEACgkQrzgMPqB3kijrawCfbvtV/2QoJ6nLvKZENcslQgz+ > do8An2Q7MvgubhLqrfbVCMiG29+RG3cp > =RpHJ > -----END PGP SIGNATURE----- > >
В списке pgsql-hackers по дате отправления: