Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYsn9-0007qX-0F for pgsql-bugs@postgresql.org; Thu, 15 Nov 2012 06:19:11 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYsn5-0004lK-EX for pgsql-bugs@postgresql.org; Thu, 15 Nov 2012 06:19:09 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYsn4-0006Vo-4a for pgsql-bugs@postgresql.org; Thu, 15 Nov 2012 06:19:06 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TYsn3-00007l-CR for pgsql-bugs@postgresql.org; Thu, 15 Nov 2012 06:19:05 +0000 Date: Thu, 15 Nov 2012 06:19:05 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7661: pgstattuple from unpackaged fails on old installation To: pgsql-bugs@postgresql.org From: stuart@stuartbishop.net X-Pg-Spam-Score: -2.0 (--) X-Archive-Number: 201211/74 X-Sequence-Number: 34632 The following bug has been logged on the website: Bug reference: 7661 Logged by: Stuart Bishop Email address: stuart@stuartbishop.net PostgreSQL version: 9.1.6 Operating system: Ubuntu 12.04 Description: = The pgstattuple upgrade from unpackaged script expects the pgstatindex function to exist, but it does not on particularly old databases (My pgstattuple originally installed with 8.3 or 8.4?). # create extension pgstattuple; ERROR: function "pgstattuple" already exists with same argument types # create extension if not exists pgstattuple from unpackaged; ERROR: function pgstatindex(text) does not exist