pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: A. Kretschmer <andreas.kretschmer@schollglas.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Question about undefinably query...
Date: Tue, 10 Apr 2007 10:46:00 -0400
Message-ID: <25975.1176216360@sss.pgh.pa.us> (raw)
In-Reply-To: <20070410140526.GC7687@a-kretschmer.de>
References: <20070410140526.GC7687@a-kretschmer.de>

"A. Kretschmer" <andreas.kretschmer@schollglas.com> writes:
> there was a question on #postgresql (irc-channel) from CyberDuck without
> an answer. A little example:

Multiple SRFs in a targetlist behave, um, strangely.  I think the rule
is that all are cycled until they all chance to report "done" at the
same time, so the number of result rows is the least common multiple
of the period lengths.

This is one of the reasons that SRF-in-targetlist is deprecated ...

			regards, tom lane



view thread (2+ messages)

Message-ID: <25975.1176216360@sss.pgh.pa.us>
Permalink:  ../25975.1176216360@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25975.1176216360@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andreas.kretschmer@schollglas.com
  Subject: Re: Question about undefinably query...
  In-Reply-To: <25975.1176216360@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox