Skip to content

Fix possible segfault in DatabasePostgreSQL::getCreateTableQuery#35313

Merged
Avogar merged 2 commits intoClickHouse:masterfrom
kssenii:fix-pg-db
Mar 16, 2022
Merged

Fix possible segfault in DatabasePostgreSQL::getCreateTableQuery#35313
Avogar merged 2 commits intoClickHouse:masterfrom
kssenii:fix-pg-db

Conversation

@kssenii
Copy link
Copy Markdown
Member

@kssenii kssenii commented Mar 15, 2022

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix segfault in Postgres database when getting create table query if database was created using named collections. Closes #35312.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Mar 15, 2022
@kssenii kssenii added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Mar 16, 2022
@Avogar Avogar self-assigned this Mar 16, 2022
@Avogar Avogar merged commit ec6968c into ClickHouse:master Mar 16, 2022
robot-clickhouse pushed a commit that referenced this pull request Mar 16, 2022
robot-clickhouse pushed a commit that referenced this pull request Mar 16, 2022
kssenii added a commit that referenced this pull request Mar 18, 2022
Backport #35313 to 22.2: Fix possible segfault in DatabasePostgreSQL::getCreateTableQuery
Avogar added a commit that referenced this pull request Mar 24, 2022
Backport #35313 to 22.1: Fix possible segfault in DatabasePostgreSQL::getCreateTableQuery
@Felixoid Felixoid added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CH crashing if you query create_table_query from PG database created with named_collection

4 participants