Comments (4)
This reproduces the issue too:
select repack.get_index_keys('idx_contacts_user1'::regclass::oid, 'contacts'::regclass::oid);
from pg_repack.
Oh yes, the following is telling:
/*
* FIXME: this is very unreliable implementation but I don't want to
* re-implement customized versions of pg_get_indexdef_string...
*
* TODO: Support ASC/DESC and NULL FIRST/LAST.
*/
The function
opclass = OpclassnameGetOpcid(BTREE_AM_OID, opcname);
fails because opcname is DESC
, parsed from indexdef.columns = userid1 DESC
.
from pg_repack.
I think this commit fixes the problem. There is currently some unrelated problem in master to be addressed.
from pg_repack.
Added support for COLLATE too in the issue-3 branch
from pg_repack.
Related Issues (20)
- 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
- Repack without trigger HOT 4
- pg_repack failure with ERROR SET TRANSACTION ISOLATION LEVEL on AWS Aurora Postgresql 14.10
- Dropped columns kept HOT 2
- Releasing 1.5.1 HOT 6
- Table size increase post pg_repack and other queries HOT 3
- Endless recursive call of repack_cleanup_callback() when lock failed
- ERROR in repack.repack_swap() if CIC creates a new index on the original table after rebuild_indexes() on new table HOT 2
- copy_data fail if table definition changed after copy_data SQL string saved to memory in repack_one_database()
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.