Foreign Data Wrapper
От | Big Mike |
---|---|
Тема | Foreign Data Wrapper |
Дата | |
Msg-id | CANEiRNzHazQPgDHePxkj0nskL6sMCO11=4ump6ZW616cP8T58g@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Foreign Data Wrapper
|
Список | pgsql-hackers |
Writing a Foreign Data Wrapper and interested in isolating the WHERE clause to speed up the access of an indexed file on my filesystem. I'm attempting to understand the inner workings of how the data is retrieved so I'm writing code to just handle one case at the moment: WHERE clause on a single column in the foreign 'table'.
SELECT * FROM t WHERE testval = 1
static TupleTableSlot *
bIterateForeignScan(ForeignScanState *node) {
...
RestrictInfo *rinfo = (RestrictInfo *)node->ss.ps.qual;
...
}
Am I going about this the correct way or is there another path I should follow?
В списке pgsql-hackers по дате отправления: