On 05/17/2018 09:31 AM, Robert Rothenberg via RT wrote:
Show quoted text
Not a fallback, but rather convoluted mechanism which is designed to be
fully encapsulated / non-reusable and is activated in very tightly
controlled circumstances.
Show quoted text> There's a difference between supporting a feature that some databases do not
> support vs requiring it.
>
The current context is not about supporting a standardized feature that
has several outliers. It is about not mixing things that are truly
standard with things that are standardized only on paper in the same
API. In reality there is essentially no window function expression that
you can take from one engine and run on another. Add to that that they
are in general poorly supported ( only Pg and Oracle have sufficiently
similar syntax iirc, with MSSQLServer having something similar yet
different, but I have not looked at this for about 3 years, so don't
take my word on it ).
Bottom line is that I am not comfortable extending the main DBIC API
surface into "one-off" territory ( and while I understand the sentiment
of "but the standard says..." - I strongly disagree with it ).
Show quoted text> I didn't consider an extension, but I will look into it.
If you run into major difficulties creating an extension - we should
definitely look into providing whatever foundation is missing.
I will keep this ticket open for a while, to serve as a spot to
coordinate whatever further questions may arise
Cheers!