mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 05:36:00 +00:00
fix: string_agg not supported in redhist
This commit is contained in:
@@ -138,7 +138,9 @@ class Analyser extends DatabaseAnalyser {
|
||||
: null;
|
||||
|
||||
this.feedback({ analysingMessage: 'Loading routines' });
|
||||
const routines = await this.analyserQuery('routines', ['procedures', 'functions']);
|
||||
const routines = await this.analyserQuery('routines', ['procedures', 'functions'], {
|
||||
$typeAgg: this.driver.dialect.stringAgg ? 'string_agg' : 'max',
|
||||
});
|
||||
|
||||
this.feedback({ analysingMessage: 'Loading indexes' });
|
||||
const indexes = this.driver.__analyserInternals.skipIndexes
|
||||
|
||||
Reference in New Issue
Block a user