git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5a9167c) | patch
Fix assertion if index is dropped during REFRESH CONCURRENTLY
Mon, 5 Feb 2024 09:01:30 +0000 (11:01 +0200)
Mon, 5 Feb 2024 09:01:30 +0000 (11:01 +0200)
commit b96115acb8a0e08a46877c2b8ef2a7b5560b371b
Fix assertion if index is dropped during REFRESH CONCURRENTLY

When assertions are disabled, the built SQL statement is invalid and
you get a "syntax error". So this isn't a serious problem, but let's
avoid the assertion failure.

Backpatch to all supported versions.

Reviewed-by: Noah Misch
src/backend/commands/matview.c diff | blob | blame | history
src/test/regress/expected/matview.out diff | blob | blame | history
src/test/regress/sql/matview.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /