Re: [HACKERS] Error attribution in foreign scans

2011-02-10 Thread Noah Misch
On Wed, Feb 09, 2011 at 10:55:05AM +0900, Itagaki Takahiro wrote: > On Mon, Feb 7, 2011 at 22:47, Heikki Linnakangas > wrote: > > On Mon, Feb 7, 2011 at 21:17, Noah Misch wrote: > >> The message does not show which foreign table yielded the error. ??We > >> could evade > >> the problem in this c

Re: [HACKERS] Error attribution in foreign scans

2011-02-08 Thread Itagaki Takahiro
On Mon, Feb 7, 2011 at 22:47, Heikki Linnakangas wrote: > On Mon, Feb 7, 2011 at 21:17, Noah Misch wrote: >> The message does not show which foreign table yielded the error.  We could >> evade >> the problem in this case by adding a file name to the error message in the >> COPY >> code, > Yeah

Re: [HACKERS] Error attribution in foreign scans

2011-02-07 Thread Heikki Linnakangas
On 07.02.2011 14:17, Noah Misch wrote: Suppose you create several file_fdw foreign tables, query them together, and read(2) returns EIO for one of the files: [local] postgres=# SELECT * FROM ft0, ft1, ft2; ERROR: could not read from COPY file: Input/output error The message does not show which