mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Manual cleanup of pgindent results.
Fix some places where pgindent did silly stuff, often because project style wasn't followed to begin with. (I've not touched the atomics headers, though.)
This commit is contained in:
@ -645,10 +645,12 @@ get_last_attnums(Node *node, ProjectionInfo *projInfo)
|
||||
* overall targetlist's econtext. GroupingFunc arguments are never
|
||||
* evaluated at all.
|
||||
*/
|
||||
if (IsA(node, Aggref) ||IsA(node, GroupingFunc))
|
||||
if (IsA(node, Aggref))
|
||||
return false;
|
||||
if (IsA(node, WindowFunc))
|
||||
return false;
|
||||
if (IsA(node, GroupingFunc))
|
||||
return false;
|
||||
return expression_tree_walker(node, get_last_attnums,
|
||||
(void *) projInfo);
|
||||
}
|
||||
|
Reference in New Issue
Block a user