Re: exceeded MAX_ALLOCATED_DESCS while trying to open file - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: exceeded MAX_ALLOCATED_DESCS while trying to open file
Date
Msg-id 20130528163332.GW15045@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: exceeded MAX_ALLOCATED_DESCS while trying to open file  ("ktm@rice.edu" <ktm@rice.edu>)
Responses Re: exceeded MAX_ALLOCATED_DESCS while trying to open file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
ktm@rice.edu wrote:

> Each SELECT opens your FOREIGN TABLE so you are opening it 10 times. This is
> hardcoded by a #define in ./src/backend/storage/file/fd.c during the build so
> you would need to recompile the software yourself to change it. Can you re-
> write your query using a single SELECT or possibly read the data into a
> temporary table for processing?

To me this sounds like a bug in whatever FDW is being used.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-admin by date:

Previous
From: Steve.Toutant@inspq.qc.ca
Date:
Subject: Re: exceeded MAX_ALLOCATED_DESCS while trying to open file
Next
From: Jerry Sievers
Date:
Subject: Re: WAL files required to make base backup consistent