commit
ce21b22bf2
|
@ -2,7 +2,7 @@
|
||||||
"name": "pg_stat_monitor",
|
"name": "pg_stat_monitor",
|
||||||
"abstract": "PostgreSQL Query Performance Monitoring Tool",
|
"abstract": "PostgreSQL Query Performance Monitoring Tool",
|
||||||
"description": "pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL's contrib module pg_stat_statements. PostgreSQL’s pg_stat_statements provides the basic statistics, which is sometimes not enough. The major shortcoming in pg_stat_statements is that it accumulates all the queries and their statistics and does not provide aggregated statistics nor histogram information. In this case, a user would need to calculate the aggregates, which is quite an expensive operation.",
|
"description": "pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL's contrib module pg_stat_statements. PostgreSQL’s pg_stat_statements provides the basic statistics, which is sometimes not enough. The major shortcoming in pg_stat_statements is that it accumulates all the queries and their statistics and does not provide aggregated statistics nor histogram information. In this case, a user would need to calculate the aggregates, which is quite an expensive operation.",
|
||||||
"version": "2.1.1",
|
"version": "2.2.0",
|
||||||
"maintainer": [
|
"maintainer": [
|
||||||
"Artem Gavrilov <artem.gavrilov@percona.com>",
|
"Artem Gavrilov <artem.gavrilov@percona.com>",
|
||||||
"Diego dos Santos Fronza <diego.fronza@percona.com>"
|
"Diego dos Santos Fronza <diego.fronza@percona.com>"
|
||||||
|
@ -13,9 +13,9 @@
|
||||||
"provides": {
|
"provides": {
|
||||||
"pg_stat_monitor": {
|
"pg_stat_monitor": {
|
||||||
"abstract": "PostgreSQL Query Performance Monitoring Tool",
|
"abstract": "PostgreSQL Query Performance Monitoring Tool",
|
||||||
"file": "pg_stat_monitor--2.0--2.1.sql",
|
"file": "pg_stat_monitor--2.1--2.2.sql",
|
||||||
"docfile": "README.md",
|
"docfile": "README.md",
|
||||||
"version": "2.1.1"
|
"version": "2.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prereqs": {
|
"prereqs": {
|
||||||
|
|
|
@ -117,9 +117,13 @@ get_sources(){
|
||||||
echo "Sources will not be downloaded"
|
echo "Sources will not be downloaded"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
IS_RELEASE_BRANCH=$(echo ${VERSION} | grep -c release)
|
||||||
|
if [ ${IS_RELEASE_BRANCH} != 0 ]; then
|
||||||
|
VERSION=$(echo $VERSION | awk -F'-' '{print $2}')
|
||||||
|
fi
|
||||||
PRODUCT=percona-pg-stat-monitor${PG_RELEASE}
|
PRODUCT=percona-pg-stat-monitor${PG_RELEASE}
|
||||||
PRODUCT_FULL=${PRODUCT}-${VERSION}
|
PRODUCT_FULL=${PRODUCT}-${VERSION}
|
||||||
|
|
||||||
echo "PRODUCT=${PRODUCT}" > pg-stat-monitor.properties
|
echo "PRODUCT=${PRODUCT}" > pg-stat-monitor.properties
|
||||||
echo "PRODUCT_FULL=${PRODUCT_FULL}" >> pg-stat-monitor.properties
|
echo "PRODUCT_FULL=${PRODUCT_FULL}" >> pg-stat-monitor.properties
|
||||||
echo "VERSION=${VERSION}" >> pg-stat-monitor.properties
|
echo "VERSION=${VERSION}" >> pg-stat-monitor.properties
|
||||||
|
|
Loading…
Reference in New Issue