Kris Jurka <books(at)ejurka(dot)com> writes:
> I'm getting some odd results when running two generate_series calls in a
> SELECT ...
> When the row counts differ you get the least common multiple number of
> rows.
Yup, this is the expected or at least historical behavior. It's not
entirely clear what you *should* get, which is one reason we ought to
deprecate SRFs in SELECT lists.
regards, tom lane