|
|
@@ -5,12 +5,14 @@ export class PostgresConfigCtrl {
|
|
|
|
|
|
current: any;
|
|
|
datasourceSrv: any;
|
|
|
+ showTimescaleDBHelp: boolean;
|
|
|
|
|
|
/** @ngInject **/
|
|
|
constructor($scope, datasourceSrv) {
|
|
|
this.datasourceSrv = datasourceSrv;
|
|
|
this.current.jsonData.sslmode = this.current.jsonData.sslmode || 'verify-full';
|
|
|
this.current.jsonData.postgresVersion = this.current.jsonData.postgresVersion || 903;
|
|
|
+ this.showTimescaleDBHelp = false;
|
|
|
this.autoDetectFeatures();
|
|
|
}
|
|
|
|
|
|
@@ -46,6 +48,10 @@ export class PostgresConfigCtrl {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ toggleTimescaleDBHelp() {
|
|
|
+ this.showTimescaleDBHelp = !this.showTimescaleDBHelp;
|
|
|
+ }
|
|
|
+
|
|
|
// the value portion is derived from postgres server_version_num/100
|
|
|
postgresVersions = [
|
|
|
{ name: '9.3', value: 903 },
|