~aglenyoung/+junk/postgres-9.3-dtrace

« back to all changes in this revision

Viewing changes to contrib/file_fdw/file_fdw.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Christoph Berg, Martin Pitt
  • Date: 2013-06-26 15:13:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130626151332-p34yjpn0txbdsdzd
Tags: 9.3~beta2-1
[ Christoph Berg ]
* hurd-i386: Ignore testsuite failures so we have a working libpq5 (they
  don't implement semaphores so the server won't even start).
* Mark postgresql-9.3 as beta in the description, suggested by Joshua D.
  Drake.

[ Martin Pitt ]
* New upstream release 9.3 beta2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
                           char **filename, List **other_options);
141
141
static List *get_file_fdw_attribute_options(Oid relid);
142
142
static bool check_selective_binary_conversion(RelOptInfo *baserel,
143
 
                                                                                          Oid foreigntableid,
144
 
                                                                                          List **columns);
 
143
                                                                  Oid foreigntableid,
 
144
                                                                  List **columns);
145
145
static void estimate_size(PlannerInfo *root, RelOptInfo *baserel,
146
146
                          FileFdwPlanState *fdw_private);
147
147
static void estimate_costs(PlannerInfo *root, RelOptInfo *baserel,
478
478
                                   &startup_cost, &total_cost);
479
479
 
480
480
        /*
481
 
         * Create a ForeignPath node and add it as only possible path.  We use the
 
481
         * Create a ForeignPath node and add it as only possible path.  We use the
482
482
         * fdw_private list of the path to carry the convert_selectively option;
483
483
         * it will be propagated into the fdw_private list of the Plan node.
484
484
         */
770
770
        /* Add all the attributes used by restriction clauses. */
771
771
        foreach(lc, baserel->baserestrictinfo)
772
772
        {
773
 
                RestrictInfo   *rinfo = (RestrictInfo *) lfirst(lc);
 
773
                RestrictInfo *rinfo = (RestrictInfo *) lfirst(lc);
774
774
 
775
775
                pull_varattnos((Node *) rinfo->clause, baserel->relid,
776
776
                                           &attrs_used);