From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Bill Thoen" <bthoen(at)gisnet(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PG Seg Faults Performing a Query |
Date: | 2007-08-21 21:38:42 |
Message-ID: | dcc563d10708211438k641b45bdlb2cdc30b666ceb22@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 8/21/07, Bill Thoen <bthoen(at)gisnet(dot)com> wrote:
> How would you suggest I try to track down this problem?
> I run the following query:
>
> SELECT a.* FROM compliance_2006 a, ers_regions b
> WHERE a.fips_st_cd=b.fips_st
> AND a.fips_cnty_cd=b.fips_cou AND b.region =1
> AND a.fips_st_cd='17' AND a.fips_cnty_cd='003';
>
> and it works. But when I try this:
>
> SELECT a.* FROM compliance_2006 a, ers_regions b
> WHERE a.fips_st_cd=b.fips_st
> AND a.fips_cnty_cd=b.fips_cou AND b.region =1
> AND a.fips_st_cd='17' ;
>
> psql dies with the message:
> Segmentation Fault.
so the client psql is what's dieing right? In that case you likely
are getting too big a result set for psql to handle at once. Trying
declaring a cursor to hold your query and fetching 100 or 1000 or so
rows at a time.
Just guessing. What's the exact text of the error message?
From | Date | Subject | |
---|---|---|---|
Next Message | Andrej Ricnik-Bay | 2007-08-21 21:46:21 | Re: PG Seg Faults Performing a Query |
Previous Message | Guy Rouillier | 2007-08-21 21:22:21 | Re: history table |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrej Ricnik-Bay | 2007-08-21 21:46:21 | Re: PG Seg Faults Performing a Query |
Previous Message | Bill Thoen | 2007-08-21 20:37:04 | PG Seg Faults Performing a Query |