Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7515893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:57:31+00:00 2026-05-30T00:57:31+00:00

I have a lovely PostgreSQL 9.0 server installed on my laptop via MacPorts. I

  • 0

I have a lovely PostgreSQL 9.0 server installed on my laptop via MacPorts. I would like to enable the hstore module, but I can’t find any instructions for installing these optional modules (nor can I find any hstore-related code in /opt/local/share/postgresql90/contrib/).

I have found some hstore-related SQL here, but I’m not sure where it comes from or if it’s compatible w/ PostgreSQL 9.0.

So, how do I enable the hstore module on my MacPorts-installed Postgres 9.0 server?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:57:32+00:00Added an answer on May 30, 2026 at 12:57 am

    You can tell MacPorts to build hstore. Here’s how.

    If you already have postgresql installed, you will need to uninstall it first (this won’t touch your data or users) because the install action will not re-install an already installed port. The uninstall is forced (-f) because postgresql91-server is dependent and will prevent uninstall.

    sudo port -f uninstall postgresql91
    

    Edit the Portfile and add hstore to the list on the line which begins with set contribs:

    sudo port edit postgresql91
    

    (Re)install from source explicitly (-s) to build the hstore extension:

    sudo port -s install postgresql91
    

    Then load hstore, once for each of your databases in which you want to use it:

    In >= 9.1: CREATE EXTENSION hstore;

    In 9.0: psql -U postgres -f /opt/local/share/postgresql90/contrib/hstore.sql

    Note this process works for postgresql92 by just substituting “92” for “91”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have done an Accordion style jQuery function which works lovely, but would like
I have (well had) a bit of code that would get me my lovely
I'm using Thauber's lovely Django schedule app , but have run into a problem:
I have a nice and lovely Django site up and running, but have noticed
I have created some lovely reports using SQL Server Business Intelligence Development creating a
So for example, I have a lovely button control: <asp:Button ID=Button1 runat=server Text=Button />
This works lovely for doing it once statically. But what if I have a
Good day lovely computer peoples! I've uploaded a .dmg file to my server, but
I have been working on a dynamic page http://www.euroworker.no/order and I want my lovely
have not tested on windows. but in ubuntu when u disconnect from the network,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.