title: Install extension in postgres
body: <p>I am trying to add <a href="https://github.com/adjust/pg-numhstore" rel="nofollow noreferrer">https://github.com/adjust/pg-numhstore</a> extension to my postgres.</p>
  
  <p>when i run the command:</p>
  
  <p>CREATE EXTENSION numhstore</p>
  
  <p>I get no control file found.</p>
  
  <p>I added the control file in /usr/share/postgresql/11/extension from the repository link given above.</p>
  
  <p>I get error as extension "numhstore" has no installation script nor update path for version.</p>
  
  <p>pg_config result:</p>
  
  <pre><code>BINDIR = /usr/lib/postgresql/12/bin
  DOCDIR = /usr/share/doc/postgresql-doc-12
  HTMLDIR = /usr/share/doc/postgresql-doc-12
  INCLUDEDIR = /usr/include/postgresql
  PKGINCLUDEDIR = /usr/include/postgresql
  INCLUDEDIR-SERVER = /usr/include/postgresql/12/server
  LIBDIR = /usr/lib/x86_64-linux-gnu
  PKGLIBDIR = /usr/lib/postgresql/12/lib
  LOCALEDIR = /usr/share/locale
  MANDIR = /usr/share/postgresql/12/man
  SHAREDIR = /usr/share/postgresql/12
  SYSCONFDIR = /etc/postgresql-common
  PGXS = /usr/lib/postgresql/12/lib/pgxs/src/makefiles/pgxs.mk
  CONFIGURE = '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=/usr/lib/x86_64-linux-gnu' '--libexecdir=/usr/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--with-icu' '--with-tcl' '--with-perl' '--with-python' '--with-pam' '--with-openssl' '--with-libxml' '--with-libxslt' 'PYTHON=/usr/bin/python3' '--mandir=/usr/share/postgresql/12/man' '--docdir=/usr/share/doc/postgresql-doc-12' '--sysconfdir=/etc/postgresql-common' '--datarootdir=/usr/share/' '--datadir=/usr/share/postgresql/12' '--bindir=/usr/lib/postgresql/12/bin' '--libdir=/usr/lib/x86_64-linux-gnu/' '--libexecdir=/usr/lib/postgresql/' '--includedir=/usr/include/postgresql/' '--with-extra-version= (Ubuntu 12.2-2.pgdg18.04+1)' '--enable-nls' '--enable-integer-datetimes' '--enable-thread-safety' '--enable-tap-tests' '--enable-debug' '--enable-dtrace' '--disable-rpath' '--with-uuid=e2fs' '--with-gnu-ld' '--with-pgport=5432' '--with-system-tzdata=/usr/share/zoneinfo' '--with-llvm' 'LLVM_CONFIG=/usr/bin/llvm-config-6.0' 'CLANG=/usr/bin/clang-6.0' '--with-systemd' '--with-selinux' 'MKDIR_P=/bin/mkdir -p' 'TAR=/bin/tar' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now' '--with-gssapi' '--with-ldap' '--with-includes=/usr/include/mit-krb5' '--with-libs=/usr/lib/mit-krb5' '--with-libs=/usr/lib/x86_64-linux-gnu/mit-krb5' 'build_alias=x86_64-linux-gnu' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security'
  CC = gcc
  CPPFLAGS = -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5
  CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer
  CFLAGS_SL = -fPIC
  LDFLAGS = -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-6.0/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed
  LDFLAGS_EX = 
  LDFLAGS_SL = 
  LIBS = -lpgcommon -lpgport -lpthread -lselinux -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lrt -lcrypt -ldl -lm 
  VERSION = PostgreSQL 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
  
  </code></pre>