Thread: BUG #7531: ERROR: column spclocation do not exist

BUG #7531: ERROR: column spclocation do not exist

From
alexandredepaula.sousa@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      7531
Logged by:          Alexandre de Paula Sousa
Email address:      alexandredepaula.sousa@gmail.com
PostgreSQL version: 9.2.0
Operating system:   Windows Seven Ultimate 32 bits
Description:        =


I'm brazilian and I installed the PostgreSQL version 9.2, when I create a
new database and tried to access, a message error appears "ERRO:  coluna
s.spclocation n=C3=A3o existe no caracter 34".

Following the LOG:
2012-09-11 13:45:49 BRT LOG:  sistema de banco de dados est=C3=A1 pronto pa=
ra
aceitar conex=C3=B5es
2012-09-11 13:45:49 BRT LOG:  inicializador do autovacuum foi iniciado
2012-09-11 13:52:29 BRT LOG:  SIGHUP recebido, recarregando arquivos de
configura=C3=A7=C3=A3o
2012-09-11 13:53:13 BRT AVISO:  n=C3=A3o h=C3=A1 uma transa=C3=A7=C3=A3o em=
 execu=C3=A7=C3=A3o
2012-09-11 13:53:13 BRT AVISO:  n=C3=A3o h=C3=A1 uma transa=C3=A7=C3=A3o em=
 execu=C3=A7=C3=A3o
2012-09-11 13:53:13 BRT AVISO:  n=C3=A3o h=C3=A1 uma transa=C3=A7=C3=A3o em=
 execu=C3=A7=C3=A3o
2012-09-11 13:53:16 BRT AVISO:  n=C3=A3o h=C3=A1 uma transa=C3=A7=C3=A3o em=
 execu=C3=A7=C3=A3o
2012-09-11 13:53:18 BRT ERRO:  coluna s.spclocation n=C3=A3o existe no cara=
cter
34
2012-09-11 13:53:18 BRT COMANDO:  SELECT s.oid, s.spcname AS name,
s.spclocation, u.rolname AS usename FROM pg_tablespace s LEFT OUTER JOIN
pg_roles u ON u.oid =3D s.spcowner ORDER BY s.spcname
2012-09-11 13:53:38 BRT ERRO:  coluna s.spclocation n=C3=A3o existe no cara=
cter
34
2012-09-11 13:53:38 BRT COMANDO:  SELECT s.oid, s.spcname AS name,
s.spclocation, u.rolname AS usename FROM pg_tablespace s LEFT OUTER JOIN
pg_roles u ON u.oid =3D s.spcowner ORDER BY s.spcname
2012-09-11 13:53:42 BRT ERRO:  coluna s.spclocation n=C3=A3o existe no cara=
cter
34
2012-09-11 13:53:42 BRT COMANDO:  SELECT s.oid, s.spcname AS name,
s.spclocation, u.rolname AS usename FROM pg_tablespace s LEFT OUTER JOIN
pg_roles u ON u.oid =3D s.spcowner ORDER BY s.spcname

What can I do to resolve this?

Re: BUG #7531: ERROR: column spclocation do not exist

From
Devrim GÜNDÜZ
Date:
Hi,

On Tue, 2012-09-11 at 17:06 +0000, alexandredepaula.sousa@gmail.com
wrote:

> I'm brazilian and I installed the PostgreSQL version 9.2, when I
> create a new database and tried to access, a message error appears
> "ERRO:  coluna s.spclocation não existe no caracter 34".

Assuming that you are getting this error from pgadmin, upgrade it to
1.16, which has 9.2 support. spclocation was removed in 9.2, so the
older clients will throw errors.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz