mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/relnode.c,v 1.2 1997/09/07 04:44:32 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/relnode.c,v 1.3 1997/09/08 02:25:02 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -27,11 +27,11 @@
|
||||
* necessary. This is for base relations.
|
||||
*
|
||||
*/
|
||||
Rel *
|
||||
Rel *
|
||||
get_base_rel(Query * root, int relid)
|
||||
{
|
||||
List *relids;
|
||||
Rel *rel;
|
||||
List *relids;
|
||||
Rel *rel;
|
||||
|
||||
relids = lconsi(relid, NIL);
|
||||
rel = rel_member(relids, root->base_relation_list_);
|
||||
@ -77,9 +77,9 @@ get_base_rel(Query * root, int relid)
|
||||
}
|
||||
else
|
||||
{
|
||||
bool hasindex;
|
||||
int pages,
|
||||
tuples;
|
||||
bool hasindex;
|
||||
int pages,
|
||||
tuples;
|
||||
|
||||
/*
|
||||
* Otherwise, retrieve relation characteristics from the
|
||||
@ -100,7 +100,7 @@ get_base_rel(Query * root, int relid)
|
||||
* creating a new one if necessary. This is for join relations.
|
||||
*
|
||||
*/
|
||||
Rel *
|
||||
Rel *
|
||||
get_join_rel(Query * root, List * relid)
|
||||
{
|
||||
return rel_member(relid, root->join_relation_list_);
|
||||
@ -114,11 +114,11 @@ get_join_rel(Query * root, List * relid)
|
||||
* Returns the corresponding entry in 'rels' if it is there.
|
||||
*
|
||||
*/
|
||||
Rel *
|
||||
Rel *
|
||||
rel_member(List * relid, List * rels)
|
||||
{
|
||||
List *temp = NIL;
|
||||
List *temprelid = NIL;
|
||||
List *temp = NIL;
|
||||
List *temprelid = NIL;
|
||||
|
||||
if (relid != NIL && rels != NIL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user