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

Re: bug in join?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurette Cisneros <laurette(at)nextbus(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: bug in join?
Date: 2002-01-02 22:02:18
Message-ID: 7117.1010008938@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Laurette Cisneros <laurette(at)nextbus(dot)com> writes:
> This join worked last week and today it gets and error:
> select * from b, d
>  where b.address = d.address;
> It now fails with the following error:
> ERROR:  join_selectivity: bad value -0.121693

Probably what has changed is the pg_statistic data (VACUUM ANALYZE
results).  Please send the results of

select * from pg_stats where tablename = 'b';
select * from pg_stats where tablename = 'd';

			regards, tom lane

In response to

  • bug in join? at 2002-01-02 21:40:32 from Laurette Cisneros

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2002-01-02 22:02:26
Subject: Re: Bulkloading using COPY - ignore duplicates?
Previous:From: Tom LaneDate: 2002-01-02 21:49:27
Subject: Re: Bulkloading using COPY - ignore duplicates?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group