Several of the extension modules shipped in Debian are also available via pgxn, but usually we are downloading the tarballs directly from where upstream put them (e.g. github). > http://www.pgxn.org/ > > I made some effort on search& study & try to install temporal. > 1. install gcc and make
"apt-get install build-essential" is what you usually want here.
> 2. install pgxnclient
pgxnclient is available as .deb, fwiw. > 3. issue command , "pgxn install temporal" > 4. create extension.
There's a WIP branch of postgresql-common that eases packaging of PGXS-based modules (as in /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk).