Firstly, if you’re not using 9.1+, please refer to this question.
How do I install an extension to PostgreSQL 9.1?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Postgrseql 9.1 provides for a new command
CREATE EXTENSION. You should use it to install modules.Modules provided in 9.1 can be found here.. The include,
If for instance you wanted to install
earthdistance, simply use this command:If you wanted to install an extension with a hyphen in its name, like
uuid-ossp, you need to enclose the extension name in double quotes:DROP EXTENSION. You can also get an extension list, and there is basic support for version numbers.