1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

pgindent run before PG 9.1 beta 1.

This commit is contained in:
Bruce Momjian
2011-04-10 11:42:00 -04:00
parent 9a8b73147c
commit bf50caf105
446 changed files with 5737 additions and 5258 deletions

View File

@@ -27,11 +27,11 @@ typedef struct FdwPlan
NodeTag type;
/*
* Cost estimation info. The startup_cost is time before retrieving
* the first row, so it should include costs of connecting to the remote
* host, sending over the query, etc. Note that PlanForeignScan also
* ought to set baserel->rows and baserel->width if it can produce any
* usable estimates of those values.
* Cost estimation info. The startup_cost is time before retrieving the
* first row, so it should include costs of connecting to the remote host,
* sending over the query, etc. Note that PlanForeignScan also ought to
* set baserel->rows and baserel->width if it can produce any usable
* estimates of those values.
*/
Cost startup_cost; /* cost expended before fetching any tuples */
Cost total_cost; /* total cost (assuming all tuples fetched) */
@@ -39,10 +39,10 @@ typedef struct FdwPlan
/*
* FDW private data, which will be available at execution time.
*
* Note that everything in this list must be copiable by copyObject().
* One way to store an arbitrary blob of bytes is to represent it as a
* bytea Const. Usually, though, you'll be better off choosing a
* representation that can be dumped usefully by nodeToString().
* Note that everything in this list must be copiable by copyObject(). One
* way to store an arbitrary blob of bytes is to represent it as a bytea
* Const. Usually, though, you'll be better off choosing a representation
* that can be dumped usefully by nodeToString().
*/
List *fdw_private;
} FdwPlan;
@@ -52,17 +52,17 @@ typedef struct FdwPlan
* Callback function signatures --- see fdwhandler.sgml for more info.
*/
typedef FdwPlan * (*PlanForeignScan_function) (Oid foreigntableid,
PlannerInfo *root,
RelOptInfo *baserel);
typedef FdwPlan *(*PlanForeignScan_function) (Oid foreigntableid,
PlannerInfo *root,
RelOptInfo *baserel);
typedef void (*ExplainForeignScan_function) (ForeignScanState *node,
struct ExplainState *es);
struct ExplainState *es);
typedef void (*BeginForeignScan_function) (ForeignScanState *node,
int eflags);
int eflags);
typedef TupleTableSlot * (*IterateForeignScan_function) (ForeignScanState *node);
typedef TupleTableSlot *(*IterateForeignScan_function) (ForeignScanState *node);
typedef void (*ReScanForeignScan_function) (ForeignScanState *node);

View File

@@ -76,7 +76,7 @@ extern ForeignDataWrapper *GetForeignDataWrapperByName(const char *name,
bool missing_ok);
extern ForeignTable *GetForeignTable(Oid relid);
extern Oid get_foreign_data_wrapper_oid(const char *fdwname, bool missing_ok);
extern Oid get_foreign_server_oid(const char *servername, bool missing_ok);
extern Oid get_foreign_data_wrapper_oid(const char *fdwname, bool missing_ok);
extern Oid get_foreign_server_oid(const char *servername, bool missing_ok);
#endif /* FOREIGN_H */