BUG #7661: pgstattuple from unpackaged fails on old installation - Mailing list pgsql-bugs

From stuart@stuartbishop.net
Subject BUG #7661: pgstattuple from unpackaged fails on old installation
Date
Msg-id E1TYsn3-00007l-CR@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #7661: pgstattuple from unpackaged fails on old installation
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
Next
From: Craig Ringer
Date:
Subject: Re: BUG #7661: pgstattuple from unpackaged fails on old installation