mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Support window functions a la SQL:2008.
Hitoshi Harada, with some kibitzing from Heikki and Tom.
This commit is contained in:
25
src/include/executor/nodeWindowAgg.h
Normal file
25
src/include/executor/nodeWindowAgg.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* nodeWindowAgg.h
|
||||
* prototypes for nodeWindowAgg.c
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/executor/nodeWindowAgg.h,v 1.1 2008/12/28 18:54:00 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef NODEWINDOWAGG_H
|
||||
#define NODEWINDOWAGG_H
|
||||
|
||||
#include "nodes/execnodes.h"
|
||||
|
||||
extern int ExecCountSlotsWindowAgg(WindowAgg *node);
|
||||
extern WindowAggState *ExecInitWindowAgg(WindowAgg *node, EState *estate, int eflags);
|
||||
extern TupleTableSlot *ExecWindowAgg(WindowAggState *node);
|
||||
extern void ExecEndWindowAgg(WindowAggState *node);
|
||||
extern void ExecReScanWindowAgg(WindowAggState *node, ExprContext *exprCtxt);
|
||||
|
||||
#endif /* NODEWINDOWAGG_H */
|
Reference in New Issue
Block a user