postgresql - Setting up PostGis on Amazon RDS -


OK, so I'm fairly new to RDS and AWS, but I can not do it for my life, my database I can get the Amazon RDS on my laptop, I took it to my test VPS and my desktop machine, there was no problem in it, even I have tried so far.

  Create Postgroup Extensions; Create extension fuzzystrmatch; Create Extensions Postgreat_tiger_joker; Create extension postg_tigology; Changing schema tiger master to rds_superuser; By changing the owner of schema topology rds_superuser; Turn On Function (Text) Return Text Language plpgsql Variable AS $ f $ IN EXECUTE $ 1; Return $ 1; End; $ F $; SELECT exec ('altern table' || quote_ident (s.nspname) || '. Quote_ident (s.relname) ||' owner to rds_superuser ') (select nspname, relname fg pg_class c JOIN pg_namespace n ON (c. Relnamespace = n.oid) where 's' ('R', 'S', 'V') by nspname and relkind = 'S' in ('tiger', 'topology') relkind; in order to relink all the privileges on the database test. ;  

Then I connect to the database and trying my local copy of the new database ...

  luke @ l-xps: ~ $ Psql --host = myhost.dns.us-west-2.rds.amazonaws.com --port = 5432 - nickname = luke --password --dbname = testgetwork & lt; testgetwork.sql ut Password for Yogener: SET SET SET SET ERROR: schema "topology" already exists ALTER SCHEMA EXTENSION ERROR Create: extension should be an owner of the plpgsql extension: the extension must be the owner of the postgit exchanges error: must be owner Postgis_topology of expansion & lt; more output, removed to save space & gt; error: Releases Special_f_sew Permission denied for invalid command . Setwal -------- 1 (1st row) Settlement & Lt; More output, removed to save space & gt;  

My question is, how can I move from here? All features are being blocked with just one permission problem, the user is part of the rds_superuser group by aluq, is anyone with experience with posts and RDS how can I improve it?

  testgetwork => List of rolls \ du roles | Properties | Members of --------------- + -------------------------------- ---------------- + ----------------- Luke | Create role, make DB. {Rds_superuser} rds_superuser | Can not log in. {} Rdsadmin | Superuser, make role, make db, replica | {}  

Official guide for establishing postgis on RDS.

This works for me.

I still have problems importing my data:

  ... should be super-aware to allow basic permission for language c ... .  

Any thoughts on them?
Also, is it possible to log in as rdsadmin?


Comments

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -