Skip to content
Permalink
Browse files

[postgres] Compile make_date, make_datetime, make_time functions

Allows (most) vector temporal filters to be performed server-side,
utilising indexes on the temporal fields. Ultimately makes it possible
to animate huge postgres tables using the new temporal framework.
  • Loading branch information
nyalldawson committed May 14, 2020
1 parent c13b677 commit 9f094067ad96b75316acdb9832fd1395a3647c54
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/postgres/qgspostgresexpressioncompiler.cpp
@@ -104,6 +104,9 @@ static const QMap<QString, QString> FUNCTION_NAMES_SQL_FUNCTIONS_MAP
{ "lower", "lower" },
{ "trim", "trim" },
{ "upper", "upper" },
{ "make_date", "make_date" },
{ "make_time", "make_time" },
{ "make_datetime", "make_timestamp" },
};

QString QgsPostgresExpressionCompiler::sqlFunctionFromFunctionName( const QString &fnName ) const

0 comments on commit 9f09406

Please sign in to comment.
You can’t perform that action at this time.