Re: apparent problem with a PL

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: apparent problem with a PL
Date: 2003-04-19 06:50:09
Message-ID: 20030418234848.N10642-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Sat, 19 Apr 2003, Rajesh Kumar Mallah wrote:

> If I limit a particular query to show 3 results which has a function call
> how can the function get called 4 times ? its apparently happening to me.

In versions before 7.4 I think it grabbed one extra row beyond what you
specify for the limit and then doesn't return that row, so if you say
limit 3 it gets 4 rows (and thus calls the function 4 times). This
appears to be different in 7.4.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-04-19 06:55:34 Re: How to retrieve object definition?
Previous Message Rajesh Kumar Mallah 2003-04-19 06:46:46 replicable problem with PL/Perl