Jump to content

Recommended Posts

Posted

Hi

I have created my Postgres database on johnny and am trying to use phppgadmin to create a postgis extension via SQL... without success.

 

SQL error:

ERROR: could not open extension control file "/usr/share/pgsql/extension/postgis.control": No such file or directory

 

In statement:
Create extension postgis;

 

 

Is there something else I need to be doing?

 

Thanks

 

Posted

I'm not sure which ones it's supported on honestly. It may even be possible to make it supported on Johnny now that it's been rebuilt.

 

Let's see what our other root admin Krydos says.

Posted

Thanks for that - it would be good if I could get remote access as well, if that isn't too much to ask.

 

Cheers

AlanK

Posted

Thanks Krydos,

We are closer, but no quite there:

 

SQL error:

ERROR: permission denied to create extension "postgis"
HINT: Must be superuser to create this extension.

 

In statement:
create extension postgis

 

Is it possible for me to connect as a super user?

 

I would like to have access to "alank_backloader" as "alank"

 

Cheers 

Posted

Is it possible for me to connect as a super user?

No, you may not have access to view/modify/delete everyone's databases on the entire server. I can run the command for you though.

 

I would like to have access to "alank_backloader" as "alank"

Remote access enabled.
Posted

Thanks for enabling remote access.

 

I wasn't actuallywanting access as the postgres user...

When I created the database (using the PostgreSQL Wizard)  I was asked to create a "privileged user".

I thought that this user would have privileges for the database I created... but I can't see how to log into postgres as that user.

 

If you could run the "create extension postgis" SQL, that would be good.

Posted

Thank you.

 

Is it possible to enable remote access to "alank_backloader"  for postgres user "alank_backloader"?

Guest
This topic is now closed to further replies.
×
×
  • Create New...