mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-24 07:17:00 +08:00
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* appendinfo.h
|
|
* Routines for mapping expressions between append rel parent(s) and
|
|
* children
|
|
*
|
|
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/optimizer/appendinfo.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef APPENDINFO_H
|
|
#define APPENDINFO_H
|
|
|
|
#include "nodes/pathnodes.h"
|
|
#include "utils/relcache.h"
|
|
|
|
extern AppendRelInfo *make_append_rel_info(Relation parentrel,
|
|
Relation childrel,
|
|
Index parentRTindex, Index childRTindex);
|
|
extern Node *adjust_appendrel_attrs(PlannerInfo *root, Node *node,
|
|
int nappinfos, AppendRelInfo **appinfos);
|
|
extern Node *adjust_appendrel_attrs_multilevel(PlannerInfo *root, Node *node,
|
|
Relids child_relids,
|
|
Relids top_parent_relids);
|
|
extern Relids adjust_child_relids(Relids relids, int nappinfos,
|
|
AppendRelInfo **appinfos);
|
|
extern Relids adjust_child_relids_multilevel(PlannerInfo *root, Relids relids,
|
|
Relids child_relids, Relids top_parent_relids);
|
|
extern AppendRelInfo **find_appinfos_by_relids(PlannerInfo *root,
|
|
Relids relids, int *nappinfos);
|
|
|
|
#endif /* APPENDINFO_H */
|