debian/0000755000000000000000000000000012236104555007171 5ustar debian/source/0000755000000000000000000000000012236102407010463 5ustar debian/source/format0000644000000000000000000000001412055135164011676 0ustar 3.0 (quilt) debian/control.in0000644000000000000000000000166712236103746011214 0ustar Source: postgresql-plproxy Section: database Priority: optional Maintainer: Christoph Berg Uploaders: Peter Eisentraut Build-Depends: debhelper (>= 7), flex, bison, asciidoc, postgresql-server-dev-all (>= 148~) Standards-Version: 3.9.5 Homepage: http://pgfoundry.org/projects/plproxy/ Vcs-Git: git://anonscm.debian.org/pkg-postgresql/postgresql-plproxy.git Vcs-Browser: http://anonscm.debian.org/git/pkg-postgresql/postgresql-plproxy.git XS-Testsuite: autopkgtest Package: postgresql-PGVERSION-plproxy Architecture: any Depends: postgresql-PGVERSION, ${misc:Depends}, ${shlibs:Depends} Description: database partitioning system for PostgreSQL PGVERSION PL/Proxy is a database partitioning system implemented as a PL language. Main idea is that proxy functions are created with same signature as the remote functions to be called, so only destination info needs to be specified inside proxy function bodies. debian/pgversions0000644000000000000000000000000412236102371011277 0ustar all debian/control0000644000000000000000000000164612236103746010604 0ustar Source: postgresql-plproxy Section: database Priority: optional Maintainer: Christoph Berg Uploaders: Peter Eisentraut Build-Depends: debhelper (>= 7), flex, bison, asciidoc, postgresql-server-dev-all (>= 148~) Standards-Version: 3.9.5 Homepage: http://pgfoundry.org/projects/plproxy/ Vcs-Git: git://anonscm.debian.org/pkg-postgresql/postgresql-plproxy.git Vcs-Browser: http://anonscm.debian.org/git/pkg-postgresql/postgresql-plproxy.git XS-Testsuite: autopkgtest Package: postgresql-9.3-plproxy Architecture: any Depends: postgresql-9.3, ${misc:Depends}, ${shlibs:Depends} Description: database partitioning system for PostgreSQL 9.3 PL/Proxy is a database partitioning system implemented as a PL language. Main idea is that proxy functions are created with same signature as the remote functions to be called, so only destination info needs to be specified inside proxy function bodies. debian/tests/0000755000000000000000000000000012236103746010334 5ustar debian/tests/control0000644000000000000000000000012312233405147011730 0ustar Tests: installcheck Depends: @, postgresql-server-dev-all Restrictions: needs-root debian/tests/installcheck0000755000000000000000000000126012236103746012725 0ustar #!/bin/sh set -e # we want to test the installed extension, so don't source from the build tree sed -i.orig 's/\\i.*plproxy\.sql/CREATE EXTENSION plproxy;/' test/sql/*.sql trap "for f in test/sql/*.sql.orig; do mv \$f \${f%.orig}; done" EXIT HUP INT QUIT PIPE TERM unset TMPDIR for v in $(pg_buildext supported-versions); do # redirect stderr to stdout so autopkgtest doesn't consider "NOTICE: # database "contrib_regression" does not exist, skipping" to be an # error if ! pg_virtualenv -c '--locale C' -i '--auth trust' -v $v \ make -f $PWD/Makefile \ installcheck PG_CONFIG=/usr/lib/postgresql/$v/bin/pg_config 2>&1; then head -n 500 regression.diffs exit 1 fi done debian/copyright0000644000000000000000000000212512236102371011116 0ustar This package was debianized by Fernando Ike de Oliveira on Tue, 05 Jun 2007 23:19:56 -0300. It was downloaded from . Upstream Authors: Sven Suursoho , Marko Kreen Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ Copyright (c) 2007-2009 Marko Kreen, Skype Technologies OÜ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/changelog0000644000000000000000000001072512236104555011050 0ustar postgresql-plproxy (2.5-3git1) trusty; urgency=low Upload current Debian packaging git head to fix autopkgtest. * debian/tests/installcheck: Temporarily modify test scripts to use CREATE EXTENSION instead of sourcing the build tree's plr.psql. We want to test the installed package and avoid building. -- Martin Pitt Tue, 05 Nov 2013 06:59:57 +0100 postgresql-plproxy (2.5-3) unstable; urgency=low [ Martin Pitt ] * Update Vcs-* tags to current git. * Add postgresql-server-dev-all test dependency as the test uses pg_buildext. * debian/tests/installcheck: Create build-$version if it does not exist. [ Christoph Berg ] * Call rm -rf build-*/ in clean instead of using pg_buildext (doesn't work because build-*/doc is missing). -- Christoph Berg Fri, 01 Nov 2013 22:38:13 +0100 postgresql-plproxy (2.5-2) unstable; urgency=low * Add autopkgtest support. * Use "all" in debian/pgversions. * Makefile: Remove the old vpath patch (now better supported by PostgreSQL), and remove the recursion into doc which doesn't work in build-%v/. * src/plproxy.h: include libpq-fe.h earlier to un-mess pg_int64 when using libpq-dev from 9.3. -- Christoph Berg Fri, 13 Sep 2013 13:51:07 +0200 postgresql-plproxy (2.5-1) experimental; urgency=low * New upstream release. -- Christoph Berg Thu, 20 Dec 2012 15:50:35 +0100 postgresql-plproxy (2.4-1) unstable; urgency=low * New upstream release. * "build" target needs DESTDIR defined too, temporarily put a version of pg_buildext in debian/ that does this. -- Christoph Berg Wed, 13 Jun 2012 16:14:51 +0200 postgresql-plproxy (2.3-1) unstable; urgency=low [ Christoph Berg ] * Add 8.2 and 8.3 to supported versions. [ Peter Eisentraut ] * New upstream release - Obsoletes patches/doc -- Peter Eisentraut Wed, 02 Nov 2011 21:10:16 +0200 postgresql-plproxy (2.2-3) unstable; urgency=low * Rebuild for PostgreSQL 9.1. * Remove our private pg_buildext copy. -- Christoph Berg Fri, 17 Jun 2011 17:13:08 +0200 postgresql-plproxy (2.2-2) unstable; urgency=low * Building the documentation needs asciidoc. -- Christoph Berg Tue, 05 Apr 2011 18:05:27 +0200 postgresql-plproxy (2.2-1) unstable; urgency=low * New upstream release. * Fix Vcs-* fields. * Support building for multiple PostgreSQL versions (8.4 and 9.0 now). * Install documentation. * Add myself as Maintainer. -- Christoph Berg Fri, 01 Apr 2011 14:51:55 +0200 postgresql-plproxy (2.1-1) unstable; urgency=low * New upstream release. * Update policy version 3.9.1. * Changed source format to 3.0 (quilt) * Added provisions for building with mismatching libpq-dev and postgresql-server-dev installed. * Changed section to database * Fixed copyright file to match reality -- Peter Eisentraut Thu, 05 Aug 2010 21:49:06 +0300 postgresql-plproxy (2.0.8-1.1) unstable; urgency=low * Non-maintainer upload. * debian/control - support PostrgeSQL 8.4, changing build-depends, depends and binary package name; Closes: #536973, #559596 * debian/install - install into 8.4 directory -- Sandro Tosi Thu, 11 Feb 2010 13:51:21 +0100 postgresql-plproxy (2.0.8-1) unstable; urgency=low * New Upstream Release * Added README.source -- Fernando Ike de Oliveira Thu, 05 Mar 2009 16:54:09 -0300 postgresql-plproxy (2.0.7-1) unstable; urgency=low * New upstream release. -- Fernando Ike de Oliveira Fri, 09 Jan 2009 15:51:48 -0200 postgresql-plproxy (2.0.5-2) unstable; urgency=low * Fix directory /usr/share/postgresql-8.2-plproxy to 8.3. * Update to debhelper 7. -- Fernando Ike de Oliveira Tue, 08 Jul 2008 11:22:55 -0300 postgresql-plproxy (2.0.5-1) unstable; urgency=low * New upstream release * Update policy version to 3.8.0. * Added Vcs-* control fields. * Added Homepage control field. -- Fernando Ike de Oliveira Mon, 09 Jun 2008 13:47:37 -0300 postgresql-plproxy (2.0.4-1) unstable; urgency=low * New upstream release. -- Fernando Ike de Oliveira Tue, 05 Feb 2008 12:09:02 -0200 postgresql-plproxy (2.0.2-1) unstable; urgency=low * Initial release. (Closes: #427293) -- Fernando Ike de Oliveira Tue, 05 Jun 2007 23:19:56 -0300 debian/rules0000755000000000000000000000176312236103746010261 0ustar #!/usr/bin/make -f SRCDIR=$(CURDIR) include /usr/share/postgresql-common/pgxs_debian_control.mk PG_BUILDEXT=pg_buildext build build-arch: build-stamp build-stamp: dh_testdir +$(PG_BUILDEXT) build $(CURDIR) build-%v $(MAKE) -C doc html touch build-stamp build-indep: clean: debian/control dh_testdir dh_testroot # pg_buildext clean doesn't work because build-*/doc isn't there #+$(PG_BUILDEXT) clean $(CURDIR) build-%v rm -rf build-*/ $(MAKE) -C doc clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs +$(PG_BUILDEXT) install $(CURDIR) build-%v postgresql-%v-plproxy binary-arch: install dh_testdir dh_testroot dh_installchangelogs dh_installdocs -a --all NEWS AUTHORS doc/*.html dh_install -a dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-arch binary-indep .PHONY: build build-arch build-indep clean binary binary-indep binary-arch debian/control debian/watch0000644000000000000000000000016612233404745010226 0ustar version=3 http://pgfoundry.org/frs/?group_id=1000207 /frs/download.php/[0-9]+/plproxy-([0-9.]+).tar.gz debian uupdate debian/patches/0000755000000000000000000000000012233404745010621 5ustar debian/patches/series0000644000000000000000000000002312233404745012031 0ustar makefile plproxy.h debian/patches/plproxy.h0000644000000000000000000000054612233404745012514 0ustar --- a/src/plproxy.h +++ b/src/plproxy.h @@ -24,6 +24,8 @@ #ifndef plproxy_h_included #define plproxy_h_included +#include + #include #include #include @@ -63,8 +65,6 @@ #include "aatree.h" #include "rowstamp.h" -#include - #ifndef PG_MODULE_MAGIC #error PL/Proxy requires 8.2+ #endif debian/patches/makefile0000644000000000000000000000056012233404745012322 0ustar Remove recursion into doc because that doesn't exist in build-%v --- a/Makefile +++ b/Makefile @@ -134,11 +134,6 @@ tgz: zip: git archive -o $(DISTNAME).zip --format zip --prefix=$(DISTNAME)/ HEAD -clean: doc-clean - -doc-clean: - $(MAKE) -C doc clean - test: install $(MAKE) installcheck || { filterdiff --format=unified regression.diffs | less; exit 1; } debian/compat0000644000000000000000000000000212055135164010366 0ustar 7