Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Site Bug] Issue with the page: /api/latest/hypertable/create_index/ - Add limitation info about PRIMARY KEY and UNIQUE index #3983

Open
igor2x opened this issue Apr 2, 2025 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@igor2x
Copy link

igor2x commented Apr 2, 2025

Using "timescaledb.transaction_per_chunk" can not be created on UNIQUE index

CREATE UNIQUE INDEX myindex01 ON mytable (id) WITH (timescaledb.transaction_per_chunk);
returns error:

ERROR: cannot use timescaledb.transaction_per_chunk with UNIQUE or PRIMARY KEY

What do the docs say now?

No info provided.

What should the docs say?

Add some info like "Limitation" or "Note" rectangle info or similar that UNIQUE index is not supported.

Page affected

https://docs.timescale.com/api/latest/hypertable/create_index/

Any further info

Tested on TimescaleDB v1.18.2 on PostgreSQL v15.10 on Red Hat 9

@igor2x igor2x added bug Something isn't working documentation Improvements or additions to documentation labels Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
2 participants