preprepare icon indicating copy to clipboard operation
preprepare copied to clipboard

Issues on install with pg9.3

Open rodo opened this issue 11 years ago • 1 comments

When following the README, the make install do some strange things as create same directory twice:

/bin/mkdir -p '/usr/share/postgresql/9.3/extension'
/bin/mkdir -p '/usr/share/postgresql/9.3/extension'
/bin/mkdir -p '/usr/lib/postgresql/9.3/lib'
/usr/bin/install -c -m 644 pre_prepare.control '/usr/share/postgresql/9.3/extension/'
/usr/bin/install -c -m 644 pre_prepare--0.4.sql pre_prepare--unpackaged--0.4.sql '/usr/share/postgresql/9.3/extension/'
/usr/bin/install -c -m 755  pre_prepare.so '/usr/lib/postgresql/9.3/lib/'

Tested on Debian Wheezy and Ubuntu 14.4

If load pre_prepare in with local_preload_libraries it fails, need to load it in shared_preload_libraries which is not really usefull in production environnement.

rodo avatar Jun 18 '14 11:06 rodo

The README seems outdated and needs some work, yes. The local_preload_libraries should now work with all supported PostgreSQL versions.

dimitri avatar Jun 18 '14 14:06 dimitri