Re: Proposal: generate_iterator functions
От | Merlin Moncure |
---|---|
Тема | Re: Proposal: generate_iterator functions |
Дата | |
Msg-id | b42b73150710181149s1bb8841cx24de3af8af398641@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Proposal: generate_iterator functions (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Proposal: generate_iterator functions
|
Список | pgsql-hackers |
On 10/18/07, Tom Lane <tgl@sss.pgh.pa.us> wrote: > "Merlin Moncure" <mmoncure@gmail.com> writes: > > There was a very similar proposal a little while back (google: > > array_to_set). I think I like those names better since you are > > returning a set, not an iterator :-). > > I agree, this is a very poor choice of name. There should be some > reference to arrays in it, for one thing. > > generate_array_subscripts() maybe? array_to_set or array_expand seem a little better imo (shorter, and symmetry with array_accum()), unless you want to differentiate between internal funcs (array_cat and the like) vs. user funcs. I would prefer a proper C implementation to a solution based around generate_series(). I'm doing a lot of C funcs lately and would be happy taking a stab at this... merlin
В списке pgsql-hackers по дате отправления: