Re: [GENERAL] Installing module for 9.6, not 9.2, on Centos? - Mailing list pgsql-general

From Ken Tanzer
Subject Re: [GENERAL] Installing module for 9.6, not 9.2, on Centos?
Date
Msg-id CAD3a31Xe5TL0k_F6rA7MniUqK6wdKAhvDA=EdrKiGjrHbU7s+Q@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Installing module for 9.6, not 9.2, on Centos?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: [GENERAL] Installing module for 9.6, not 9.2, on Centos?
Re: [GENERAL] Installing module for 9.6, not 9.2, on Centos?
List pgsql-general
Thanks Adrian, though still no luck for me.  The compiling was working OK already, the install still goes to 9.2.


Where did you get the table_log extension

I no longer remember (it's been a few years), but my tgz file was the same as what's on pgfoundry

 
I usually do something like(using existing Makefile):

PATH=/usr/local/pgsql96/bin/:$PATH make USE_PGXS=1 clean all
   ...
 
Though in both cases the extension did not actually compile due to errors.

That worked fine for me.  (Somewhere along the way I added these two lines to table_log.c:

+#include <utils/rel.h>                                                                                     |
+#include <utils/timestamp.h> 
)

But the install still goes to 9.2:

PATH=/usr/local/pgsql96/bin/:$PATH make USE_PGXS=1 install                  |
/bin/mkdir -p '/usr/pgsql-9.2/share/contrib'
/bin/mkdir -p '/usr/pgsql-9.2/lib'
/bin/mkdir -p '/usr/pgsql-9.2/doc/contrib'
/usr/bin/install -c -m 644  table_log.sql '/usr/pgsql-9.2/share/contrib/'
/usr/bin/install -c -m 755  table_log.so '/usr/pgsql-9.2/lib/'
/usr/bin/install -c -m 644 .//README.table_log '/usr/pgsql-9.2/doc/contrib/'

Any further help appreciated!  Thanks.

Ken

--
AGENCY Software  
A Free Software data system
By and for non-profits
(253) 245-3801

learn more about AGENCY or
follow the discussion.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] logical replication in PG10 BETA
Next
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Installing module for 9.6, not 9.2, on Centos?