Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn4Db-0003aJ-I2 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 16 Oct 2015 12:34:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zn4Db-0007k5-3m for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 16 Oct 2015 12:34:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zn4Da-0007jy-Oy for pgsql-pkg-yum@postgresql.org; Fri, 16 Oct 2015 12:34:42 +0000 Received: from mail-vk0-f45.google.com ([209.85.213.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zn4DW-00022F-Vq for pgsql-pkg-yum@postgresql.org; Fri, 16 Oct 2015 12:34:42 +0000 Received: by vkex70 with SMTP id x70so60208813vke.3 for ; Fri, 16 Oct 2015 05:34:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PnqSADP/FT1mgL0z1QPHhQvbxGLJlkqmUsW+FNMhbb4=; b=UzWDAEynvVefdw1O26io7lnzzhJjFoJnzjqGpkxZkMFSt7H7uANKDb+QoyBD1Fz2Dg f+BhI/YmQiwVP98y0XJkhyn9YJTPBWCaRj5wB03NFeVyNO6z9dTDJoWJvkbBuxgKDePO 3Zi0lMWuOi1EG/nEIBK6Gvm5XhgUhfs7Y9Yr4hoB/JVH0OCAdQS5ODx7tsdTl8x1UTn4 MPqPrg+8bViNNUjkz9pYdZDQ09aJNoFVnHYploAjrpDcAVTtSpHU6vflml645oHD99+a y4Rwq6wDE8FOjW4EO8Ln1BRinrWmCIeu0agDgNiw2Dg1W+EYnjsVgJZtBO5WEvreD/t6 PcNQ== X-Gm-Message-State: ALoCoQmkodgrhtbfFnZ6VnT/VTY7QkryW21ZqbbDvQ9IgJLKUtaTsOQaULde6De+vVHmxUc9DzGf MIME-Version: 1.0 X-Received: by 10.31.16.3 with SMTP id g3mr8990090vki.83.1444998876066; Fri, 16 Oct 2015 05:34:36 -0700 (PDT) Received: by 10.31.218.196 with HTTP; Fri, 16 Oct 2015 05:34:35 -0700 (PDT) In-Reply-To: References: <56201C39.20508@2ndquadrant.com> Date: Fri, 16 Oct 2015 09:34:35 -0300 Message-ID: Subject: Re: pg_partman93 From: =?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= To: Glauco Torres Cc: pgsql-pkg-yum Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org Damn, I feel really stupid. :( I was working on a server with 9.3 but reading extension SQL files and the python scripts from my laptop with the 9.4 package. :( Going through the yum logs on the server I see that 1.8.2 was installed, while on my laptop I have 2.0.0. :( I think what really got me thinking it was 2.0 was when I checked the spec file in the pgrpms git repository: [martin@coruscant F-21]$ pwd /home/martin/git/pgrpms/rpm/redhat/9.3/pg_partman/F-21 [martin@coruscant F-21]$ grep -i version pg_partman.spec %global pgmajorversion 93 Name: %{sname}%{pgmajorversion} Version: 2.1.0 Source0: http://api.pgxn.org/dist/%{sname}/%{version}/%{sname}-%{version}.zip BuildRequires: postgresql%{pgmajorversion}-devel Requires: postgresql%{pgmajorversion}-server, python-psycopg2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} = -n) %setup -q -n %{sname}-%{version} So, that would build pg_partman93 2.1.0 for F21. Anyway, sorry about the confusion related to the current package version available with yum. Regards, 2015-10-16 8:58 GMT-03:00 Glauco Torres : > > > 2015-10-15 18:35 GMT-03:00 Mart=C3=ADn Marqu=C3=A9s : >> >> Hi, >> >> I was testing out a few things with partitioning and down the road I >> installed pg_partman using the pgdg rpms. >> >> Tests are on a 9.3 system so I installed the pg_partman93 package. >> >> To my surprise, yum installed version 2.0.1 of pg_partman which is >> compatible with PostgreSQL 9.4+, not with 9.3. >> >> From the README I can see that Keith suggests using 1.8.7 tag for older >> versions of pg_partman. >> >> Any thoughts on this? >> > > > Hello, > > I tested now on CentOS 6.7 and installed correctly, the version that was > available for yum is 1.8.2 > > yum install > http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.no= arch.rpm > > yum install pg_partman93.x86_64 > > yum info pg_partman93 > Pacotes instalados > Name : pg_partman93 > Arch : x86_64 > Version : 1.8.2 > Release : 1.rhel6 > Size : 1.4 M > Repo : installed > From repo : pgdg93 > Summary : A PostgreSQL extension to manage partitioned tables by time= or > ID > URL : http://pgxn.org/dist/pg_partman/ > License : BSD > Descri=C3=A7=C3=A3o : pg_partman is a PostgreSQL extension to manage part= itioned > tables by time or ID. > > ./usr/pgsql-9.3/share/extension/pg_partman--1.8.2.sql > > which repo you are using? > > Regards, > Glauco Torres > > > > > > --=20 Mart=C3=ADn Marqu=C3=A9s http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum