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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3cffe79) | patch
Small refactoring around ExecCreateTableAs().
Fri, 2 Aug 2024 18:49:03 +0000 (11:49 -0700)
Fri, 2 Aug 2024 19:52:56 +0000 (12:52 -0700)
commit 7926a9a80f6daf0fcc1feb1bee5c51fd001bc173
Small refactoring around ExecCreateTableAs().

Since commit 4b74ebf726, the refresh logic is used to populate
materialized views, so we can simplify the error message in
ExecCreateTableAs().

Also, RefreshMatViewByOid() is moved to just after
create_ctas_nodata() call to improve code readability.

Author: Yugo Nagata
Discussion: https://postgr.es/m/20240802161301.d975daca9ba7a706fa05ecd7@sraoss.co.jp
src/backend/commands/createas.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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