Re: Critical Bug

From: Thom Brown <thom(at)linux(dot)com>
To: tejas tank <tejas(dot)tank(dot)mca(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Critical Bug
Date: 2011-04-06 13:38:11
Message-ID: BANLkTinfu2WSR88OicRGRF7YZv49WujUOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6 April 2011 11:51, tejas tank <tejas(dot)tank(dot)mca(at)gmail(dot)com> wrote:
> Hello,
>
>
> I have hug postgresql database and when i going to search for a query
> with database retrieve with limit of 669 is allow
>
> If my query fetch records more over 669 records then error is comming...
>
>
> RROR: more than one row returned by a subquery used as an expression
>
> ********** Error **********
>
> ERROR: more than one row returned by a subquery used as an expression
> SQL state: 21000
>
>
> What should I have to do.?????

We'd need to see the query, but I suspect you're evaluating a scalar
against a subquery expression, and it's the 670th record which returns
more than 1 record in the subquery.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-04-06 13:41:20 Re: Critical Bug
Previous Message Joseph Doench 2011-04-06 13:27:00 ridiculously large crosstabs