Oh yeah, I meant to say that I was going to leave window functions for
future expansion. First I need to get more familiar with their use.
Yesterday was my first time implementing an aggregate function, and I need
to work my way up.

On Tue, Jan 29, 2019, 07:46 Richard Hipp <[email protected] wrote:

> On 1/29/19, Andy Goth <[email protected]> wrote:
> >
> > Question: does xFinal() get called if an error occurs during (or between)
> > calling xStep()? Are errors even possible? I'm curious if there's any way
> > to leak the Tcl_Obj pointed to by the aggregate context.
>
> xFinal() gets called by sqlite3_reset() or sqlite3_finalize() if it
> hasn't been called already when those routines are first invoked.
>
> You might also what to add the ability to specify xValue() and
> xInverse() methods so that you can do window functions in TCL as well.
> See
> https://www.sqlite.org/windowfunctions.html#user_defined_aggregate_window_functions
> for additional information.
>
> --
> D. Richard Hipp
> [email protected]
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to