Comments (2)
Sorry for the belated followup. For OS X, I can say that pg_repack works fine on 10.9 with Postgres built from Homebrew and from source. I haven't tried the Postgres.app you mention, but about the error you ran into:
ld: library not found for -lpgport
IIRC we do in fact need to be able to link with libpgport -- that error means ld
either isn't looking in the right directories, or your Postgres.app somehow failed to provide the library. Can you try something like find / -type f -name 'libpgport.*' 2>/dev/null
? If you've got it, it'll just be a matter of coaxing ld to find it (DYLD_LIBRARY_PATH, or set up a symlink manually, etc.) If it's really missing, that might be an issue you'd have to take up with the Postgres.app folks.
For the missing libraries on Ubuntu, you could try just apt-getting the appropriate *-dev packages providing those libraries, e.g. I'd guess installing libkrb5-dev would make the complaint about
/usr/bin/ld: cannot find -lkrb5
go away. Alternatively, you could add filter-out entries for those libraries to pg_repack's Makefiles (offhand, I doubt we need any of those you listed, we're just picking them up from the LIBS pg_config reports Postgres having been built against). See commit 9c8d519.
from pg_repack.
pgport seems required (as noded in #7). libedit should be currently filtered out.
from pg_repack.
Related Issues (20)
- run pg_repack all the time using plsh.
- pass case sensitive table name with double quotes HOT 3
- We removed row in table pg_extensions HOT 2
- Installation on Mac OSX? HOT 1
- Impact pg_repack on streaming replication HOT 4
- Releases with precompiled binaries HOT 5
- Support for all old EOL'd PG versions and solving all racing conditions? HOT 4
- Remove SPEC files HOT 1
- /usr/bin/ld: cannot find -llz4 HOT 2
- pg_repack error:column "relhasoids" does not exist HOT 7
- simple_prompt() hangs because SIGINT handler was overridden
- Question: Does pg_repack repack indexes when repacking table HOT 2
- Exists orphan files in secondary server after the repack. HOT 5
- The table is moved to tablespace pg _default from database default tablespace HOT 2
- pg_repack use SeqScan for read table. Can we use Parallel Seq Scan like the Command Copy does? HOT 2
- Overriding `idle_in_transaction_session_timeout` doesn't seem to work properly HOT 5
- Invalid OIDs can crash the database HOT 2
- Refactor `lib/pg_repack.sql.in`
- pg_repack without primary/unique index HOT 1
- All target table reads & writes blocked because of autovacuum on repack temporary table HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_repack.