Re: [GENERAL] permission denied for schema topology

2014-09-12 Thread Adrian Klaver
On 09/12/2014 02:27 AM, Iain Mott wrote: Thanks Tom and everyone that replied. Since my last email my service provider managed to solve the problem on my main database. I looked at the schemas listed in phpPgAdmin on this database before it was fixed and there were two main schemas listed, "publi

Re: [GENERAL] permission denied for schema topology

2014-09-12 Thread Iain Mott
Thanks Tom and everyone that replied. Since my last email my service provider managed to solve the problem on my main database. I looked at the schemas listed in phpPgAdmin on this database before it was fixed and there were two main schemas listed, "public" and "topology", both owned by postgres.

Re: [GENERAL] permission denied for schema topology

2014-09-11 Thread Tom Lane
Iain Mott writes: > Here's what happens (the important error messages are in English): > [~]# pg_dump mydatabase > dump.sql > pg_dump: comando SQL falhou > pg_dump: Mensagem de erro do servidor: ERROR: permission denied for schema > topology > pg_dump: O comando foi: LOCK TABLE topology.topolog

Re: [GENERAL] permission denied for schema topology

2014-09-11 Thread Adrian Klaver
On 09/11/2014 04:37 AM, Iain Mott wrote: Thanks a lot. Here is the response to => SELECT postgis_full_version(); postgi So what does pgAdmin show for ownership of the schemas? -- Adrian Klaver adrian.kla...@aklaver.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org)

Re: [GENERAL] permission denied for schema topology

2014-09-11 Thread Iain Mott
Thanks a lot. Here is the response to => SELECT postgis_full_version(); postgi s_full_version

Re: [GENERAL] permission denied for schema topology

2014-09-11 Thread Rémi Cura
Yep, this means you are using postgis. I don't know if you use postgis topology. If you have a schema topology containing a topology table, then you also have postgis_topology installed. You can check this with this query : "SELECT postgis_full_version();" Maybe the extensions have been created w

Re: [GENERAL] permission denied for schema topology

2014-09-11 Thread Iain Mott
Thanks Rémi-C for the quick reply. By coincidence my site does involve mapping, however I wasn't aware that the server might be using postgis and postgis_topology. In psql when I type "\d" i get the following: public | comentarios | tabela | myusername public | featuredata | tabela

Re: [GENERAL] permission denied for schema topology

2014-09-11 Thread Rémi Cura
Hey, if you are using postgis and postgis_topology, there are specific backup/restore process. Cheers, Rémi-C 2014-09-11 12:49 GMT+02:00 Iain Mott : > Hello, > > The server for my websites was recently changed and upgraded. I have ssh > access to the server and since the upgrade I am no longer ab

[GENERAL] permission denied for schema topology

2014-09-11 Thread Iain Mott
Hello, The server for my websites was recently changed and upgraded. I have ssh access to the server and since the upgrade I am no longer able to use "pg_dump" to perform scripted backups. I've written to the site's support services, but until now, they've not been able to help (they've responded