Apr 2026

1 commit
Avoid SIGSEGV in pg_get_database_ddl() on NULL tablespace
30 Apr 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #74 of 4 reviewers saw the final version

The commit retains the NULL check and ERRCODE_UNDEFINED_OBJECT error from #7 in src/backend/utils/adt/ddlutils.c, adjusts ereport formatting, and adds errdetail("It may have been concurrently dropped."). Andrew Dunstan explicitly confirms adding that detail when announcing the push in #10.

  • Jack Bonatakissaw the final versiontrailerJack reproduced the crash, verified that #1 replaced it with an error, reported passing tests, and suggested TAP coverage in #2; only light changes followed on the committed lineage.
  • Satyanarayana Narlapuramsaw the final versiontrailerSatyanarayana established a legitimate concurrency failure with a demonstrator in #5 and reviewed #7 in #8, proposing the concurrent-drop detail adopted in shortened form.
  • Japin Lisaw the final versiontrailerJapin questioned the justification for #1 by pointing to a similar catalog-corruption discussion in #3, prompting its temporary withdrawal; the eventual committed implementation differs only lightly.
  • Andrew Dunstansaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Chao Li1
Reviewer
Andrew Dunstancommitter1
Jack Bonatakis1
Japin Li1
SATYANARAYANA NARLAPURAM1
Committer
Andrew Dunstan1