Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: multiple SRFs in SELECT clause.



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group