首先我运行:sudo su - postgres,然后运行:createdb testcreatedb: could not connect to database template1directory connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"
我需要让Hstore为我正在开发的Rails应用程序工作。我正在运行Linux Mint 18和psql (9.6.1,服务器9.5.5)和postgresql-contrib 9.6。据我所知,应该通过安装postgresql-contrib来安装和启用hstore。然而,当我加载psql控制台并执行\dx时,我看不到Htop显示在“已安装的扩展”中。当我跑的时