1

I Work with Postgresql 9.2 and I try to make Postgis 2.x extension for two schemas

My code is

create extension postgis schema public 

it is working but I want to create extension for two schemas e.g public,second ...

Can anibody help me?

2
  • 2
    Specifying a schema while creating an extension indicates where you want the extension's objects created, not for which schemas the extension is available - it's available for the whole DB. Commented Oct 26, 2013 at 12:57
  • There is no db option postgresql.org/docs/9.1/static/sql-createextension.html Commented Oct 26, 2013 at 14:41

1 Answer 1

2

According to http://www.postgresql.org/docs/9.2/static/sql-createextension.html

Extension itself is not considered to be within any schema, but it can save objects within specified schema. Specifying more than one schema is an unrealizable.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.