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
[Bug]: Segfault when compressing a table in extension schema sql #4017
Labels
Comments
I can confirm the bug is reproducible by above mentioned steps. |
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jan 24, 2022
When ALTER TABLE SET (timescaledb.compress) is executed, the compression table is created as part of this command. But when run as part of an extension installation the EventTrigger for ALTER TABLE does not get initialized leading to a segfault. Fixes timescale#4017
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jan 25, 2022
When ALTER TABLE SET (timescaledb.compress) is executed, the compression table is created as part of this command. But when run as part of an extension installation the EventTrigger for ALTER TABLE does not get initialized leading to a segfault. Fixes timescale#4017
svenklemm
added a commit
that referenced
this issue
Jan 25, 2022
When ALTER TABLE SET (timescaledb.compress) is executed, the compression table is created as part of this command. But when run as part of an extension installation the EventTrigger for ALTER TABLE does not get initialized leading to a segfault. Fixes #4017
svenklemm
added a commit
that referenced
this issue
Feb 8, 2022
When ALTER TABLE SET (timescaledb.compress) is executed, the compression table is created as part of this command. But when run as part of an extension installation the EventTrigger for ALTER TABLE does not get initialized leading to a segfault. Fixes #4017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What type of bug is this?
Crash
What subsystems and features are affected?
Compression
What happened?
When creating and then compressing a hypertable during postgres extension installation, I get a segfault.
TimescaleDB version affected
2.5.1
PostgreSQL version used
14
What operating system did you use?
MacOS (also reproduced on Alpine docker image)
What installation method did you use?
self-hosted and Docker
What platform did you run on?
Other
Relevant log output and stack trace
How can we reproduce the bug?
Place the following .control and .sql file in pg's extension directory, then in a psql shell execute
CREATE EXTENSION tscrash;
The text was updated successfully, but these errors were encountered: