--- powa-archivist-3.1.1.orig/CHANGELOG.md +++ powa-archivist-3.1.1/CHANGELOG.md @@ -31,7 +31,7 @@ pg_stat_statements. Upgrade script will do all the needed cleanup. - Restore the install_all.sql file to easily setup PoWA. - Maintain a cache of pg_database to allow seeing dropped database in the UI. - See issue https://github.com/dalibo/powa/issues/63 + See issue https://github.com/powa-team/powa/issues/63 - Don't try to load PoWA if it's not in shared_preload_libraries ## 3.0.0 (2015-11-06) @@ -56,11 +56,11 @@ Major rework of the extension. PoWA 2 is now only compatible with PostgreSQL version 9.4 and above. PoWA 2 is also now compatible with external extensions, -such as [pg_qualstats](https://github.com/dalibo/pg_qualstats) or -[pg_stat_kcache](https://github.com/dalibo/pg_stat_kcache). Third-part +such as [pg_qualstats](https://github.com/powa-team/pg_qualstats) or +[pg_stat_kcache](https://github.com/powa-team/pg_stat_kcache). Third-part extensions can also now be implemented easily. -The UI is also now in a [new repository](https://github.com/dalibo/powa-web), +The UI is also now in a [new repository](https://github.com/powa-team/powa-web), with more frequent release cycle. ## 1.2.1 (2015-01-16) --- powa-archivist-3.1.1.orig/CONTRIBUTORS.md +++ powa-archivist-3.1.1/CONTRIBUTORS.md @@ -19,3 +19,6 @@ * Palle Girgensohn * Maxence Ahlouche * Stéphane Tachoires + * fluancefg + * indreek + * Andreas Seltenreich --- powa-archivist-3.1.1.orig/INSTALL.md +++ powa-archivist-3.1.1/INSTALL.md @@ -1,7 +1,7 @@ PostgreSQL Workload Analyzer detailled installation guide ========================================================= -Read [README.md](https://github.com/dalibo/powa/blob/master/README.md) and +Read [README.md](https://github.com/powa-team/powa/blob/master/README.md) and [the official documentation](http://powa.readthedocs.io/) for further details about PoWA. @@ -16,7 +16,7 @@ ---------------------------------------- The latest stable version should be used. It can be downloaded from -[github](https://github.com/dalibo/powa-archivist/releases/latest). +[github](https://github.com/powa-team/powa-archivist/releases/latest). This documentation assumes that the latest version is 3.0.0, and you downloaded the .zip file. @@ -130,7 +130,7 @@ track_io_timing = on ``` -Other GUC variables are available. Read [README.md](https://github.com/dalibo/powa/blob/master/README.md) for further details. +Other GUC variables are available. Read [README.md](https://github.com/powa-team/powa/blob/master/README.md) for further details. In `pg_hba.conf`: --- powa-archivist-3.1.1.orig/LICENSE.md +++ powa-archivist-3.1.1/LICENSE.md @@ -1,4 +1,5 @@ -Copyright (c) 2014-2015, DALIBO +Copyright (c) 2014-2017, DALIBO +Copyright (c) 2018, The PoWA-team Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. --- powa-archivist-3.1.1.orig/META.json +++ powa-archivist-3.1.1/META.json @@ -2,7 +2,7 @@ "name": "powa", "abstract": "An extension gathering pg_stat_statements and other plugins statistics", "version": "__VERSION__", - "maintainer": "Julien Rouhaud ", + "maintainer": "Julien Rouhaud ", "license": "postgresql", "release_status": "stable", "provides": { @@ -15,11 +15,11 @@ }, "resources": { "bugtracker": { - "web": "http://github.com/dalibo/powa/issues/" + "web": "http://github.com/powa-team/powa/issues/" }, "repository": { - "url": "git://github.com/dalibo/powa-archivist.git", - "web": "http://github.com/dalibo/powa-archivist/", + "url": "git://github.com/powa-team/powa-archivist.git", + "web": "http://github.com/powa-team/powa-archivist/", "type": "git" } }, --- powa-archivist-3.1.1.orig/README.md +++ powa-archivist-3.1.1/README.md @@ -1,10 +1,10 @@ -![PostgreSQL Workload Analyzer](https://github.com/dalibo/powa/blob/master/img/powa_logo.410x161.png) +![PostgreSQL Workload Analyzer](https://github.com/powa-team/powa/blob/master/img/powa_logo.410x161.png) PoWA Archivist ============================ -This project is the core extension of the [PoWA](http://dalibo.github.io/powa/) project, a PostgreSQL Workload Analyzer that gathers performance stats and provides real-time charts +This project is the core extension of the [PoWA](http://powa-team.github.io/powa/) project, a PostgreSQL Workload Analyzer that gathers performance stats and provides real-time charts and graphs to help monitor and tune your PostgreSQL servers. For more information, please read the [PoWA-archivist documentation](http://powa.readthedocs.io/en/latest/powa-archivist/index.html): --- powa-archivist-3.1.1.orig/debian/changelog +++ powa-archivist-3.1.1/debian/changelog @@ -1,3 +1,11 @@ +powa-archivist (3.1.1-2) unstable; urgency=medium + + * Catch errors in autopkgtest script, thanks to Niels Thykier for spotting! + Closes: #881695 + * Use source format 1.0, works even better for building snapshots. + + -- Christoph Berg Sat, 19 May 2018 17:47:40 +0200 + powa-archivist (3.1.1) unstable; urgency=medium * Team upload. --- powa-archivist-3.1.1.orig/debian/control +++ powa-archivist-3.1.1/debian/control @@ -3,17 +3,17 @@ Priority: optional Maintainer: Debian PostgreSQL Maintainers Uploaders: Christoph Berg -Standards-Version: 4.1.0 +Standards-Version: 4.1.4 Build-Depends: debhelper (>= 9~), postgresql-server-dev-all (>= 141~) -Homepage: http://dalibo.github.io/powa/ -Vcs-Browser: https://github.com/dalibo/powa-archivist -Vcs-Git: https://github.com/dalibo/powa-archivist.git +Homepage: https://powa.readthedocs.io/ +Vcs-Browser: https://github.com/powa-team/powa-archivist +Vcs-Git: https://github.com/powa-team/powa-archivist.git -Package: postgresql-9.6-powa +Package: postgresql-10-powa Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.6 -Description: PostgreSQL Workload Analyzer -- PostgreSQL 9.6 extension +Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-10 +Description: PostgreSQL Workload Analyzer -- PostgreSQL 10 extension This package contains the core extension of the PoWA project, a PostgreSQL Workload Analyzer that gathers performance stats and provides real-time charts and graphs to help monitor and tune your PostgreSQL servers. --- powa-archivist-3.1.1.orig/debian/control.in +++ powa-archivist-3.1.1/debian/control.in @@ -3,12 +3,12 @@ Priority: optional Maintainer: Debian PostgreSQL Maintainers Uploaders: Christoph Berg -Standards-Version: 4.1.0 +Standards-Version: 4.1.4 Build-Depends: debhelper (>= 9~), postgresql-server-dev-all (>= 141~) -Homepage: http://dalibo.github.io/powa/ -Vcs-Browser: https://github.com/dalibo/powa-archivist -Vcs-Git: https://github.com/dalibo/powa-archivist.git +Homepage: https://powa.readthedocs.io/ +Vcs-Browser: https://github.com/powa-team/powa-archivist +Vcs-Git: https://github.com/powa-team/powa-archivist.git Package: postgresql-PGVERSION-powa Architecture: any --- powa-archivist-3.1.1.orig/debian/copyright +++ powa-archivist-3.1.1/debian/copyright @@ -1,6 +1,7 @@ powa-archivist was debianized by Christoph Berg . -Copyright (c) 2014-2015, DALIBO +Copyright (c) 2014-2017, DALIBO +Copyright (c) 2018, The PoWA-team Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is @@ -35,3 +36,10 @@ * Arthur Lutz * Luis Pinto Da Costa * Ronan Dunklau + * Christoph Berg + * Palle Girgensohn + * Maxence Ahlouche + * Stéphane Tachoires + * fluancefg + * indreek + * Andreas Seltenreich --- powa-archivist-3.1.1.orig/debian/source/format +++ powa-archivist-3.1.1/debian/source/format @@ -1 +1 @@ -3.0 (native) +1.0 --- powa-archivist-3.1.1.orig/debian/tests/control +++ powa-archivist-3.1.1/debian/tests/control @@ -1,3 +1,3 @@ -Depends: @, postgresql-contrib-9.6, postgresql-9.6-powa +Depends: @, postgresql-contrib-10, postgresql-10-powa Tests: create-extension Restrictions: allow-stderr --- powa-archivist-3.1.1.orig/debian/tests/create-extension +++ powa-archivist-3.1.1/debian/tests/create-extension @@ -1,8 +1,10 @@ #!/bin/sh +set -eu + for v in $(pg_buildext supported-versions); do pg_virtualenv -v $v -o "shared_preload_libraries=powa,pg_stat_statements" \ - psql <<-EOF + psql -v ON_ERROR_STOP=1 <<-EOF CREATE EXTENSION pg_stat_statements; CREATE EXTENSION btree_gist; CREATE EXTENSION powa; --- powa-archivist-3.1.1.orig/debian/watch +++ powa-archivist-3.1.1/debian/watch @@ -1,3 +1,3 @@ version=3 opts="uversionmangle=s/_/./g" \ - https://github.com/dalibo/powa-archivist/releases .*/archive/REL_(.*).tar.gz + https://github.com/powa-team/powa-archivist/releases .*/archive/REL_(.*).tar.gz --- powa-archivist-3.1.1.orig/powa.c +++ powa-archivist-3.1.1/powa.c @@ -253,7 +253,11 @@ INSTR_TIME_SET_CURRENT(last_start); /* Connect to POWA database */ +#if PG_VERSION_NUM >= 110000 + BackgroundWorkerInitializeConnection(powa_database, NULL, 0); +#else BackgroundWorkerInitializeConnection(powa_database, NULL); +#endif elog(LOG, "POWA connected to database %s", quote_identifier(powa_database));