Comments (4)
More digging with that issue.
I've made 2 new clean installations on 2 separate comps:
- debian 7 with postgres 9.1
repack installed easily - debian 7 with postgres 9.3 from apt.postgresql.org
and again it :
make --debug=v (with v for more verbose basic
debugging) gives me the same mistake:
/usr/include/postgresql/internal/pqexpbuffer.h:149:13: error: old-style parameter declarations in prototyped function definition
pg_repack.c:2002:1: error: expected '{' at end of input
make[1]: *** [pg_repack.o] Error 1
make[1]: Leaving directory `/root/pg_repack-1.3.1/bin'
make: *** [all] Error 2
More information from debug can be found in the attached file
errors.txt
from pg_repack.
Hm, I think there have been some issues reported (see #68) with apt.postgresql.org Debian packages causing mismatched versions of libpq and postgresql to be installed. Can you check if something like that has happened, try dpkg -l | grep -E '(postgres|libpq)'
from pg_repack.
I've met exactly the same bug.
Even dpkg -l | grep -E '(postgres|libpq)'
didn't help. I've switched to make a backport from https://packages.debian.org/source/stretch/pg-repack
But, met the same bug. While debuild worked, I've noticed this error:
( echo '{ global:'; mawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt; echo ' local: *; };' ) >exports.list
/bin/sh: 1: mawk: not found
So, apt-get -y install mawk postgresql-server-dev-all
helped as well and resolved the issue.
from pg_repack.
I am closing this issue because it's solved. However: is this likely to happen again, and/or warrant some addition to the documentation? If so please reopen or send a pull request, thank you :)
from pg_repack.
Related Issues (20)
- pg_repack 1.5.0 signed integer in name of log table lead to errors HOT 4
- Notices in pg_repack1.4.5 logs for AWS Aurora PostgreSQL 12.8 indicate waiting for transactions to finish with specific PIDs unrelated to the table being repacked. HOT 13
- Passwords in .pgpass with spaces cause error Unable to set up worker conn #0: missing "=" HOT 2
- LOCK TABLE can only be used in transaction blocks HOT 2
- Usage without client? HOT 2
- version 1.5.0 pg_repack the pg_repack command returns an ERROR: the request was not executed: ERROR: the tablespace ""XXXX"" does not exist HOT 5
- pg_repack v.1.4.7 won't build HOT 2
- repacking partitioned table indexes failed with: Could not find index/cannot create index on partitioned table concurrently HOT 5
- Error if the table is renamed concurrently during repacking
- Validate switch_threshold parameter is not greater than or equal to APPLY_COUNT
- unable to install pg_repack-1.4.7 on centos and amazon linux HOT 2
- over-ruled default search_path breaks index usage HOT 5
- Uninstall and reinstall for upgrades HOT 16
- Silent data loss due to two vacuum running logically different tables using the same relfilenode. HOT 1
- Can I install pg-repack (make && make install) during database runtime? HOT 1
- repack error HOT 3
- PG17 compatibility HOT 2
- Segmentation fault in Postgres 16 HOT 11
- ACCESS EXCLUSIVE lock blocks queries HOT 2
- [question] safe to use on system tables? HOT 2
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.