diff options
author | Jeff Davis <jdavis@postgresql.org> | 2024-08-02 11:49:03 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2024-08-02 12:52:56 -0700 |
commit | 7926a9a80f6daf0fcc1feb1bee5c51fd001bc173 (patch) | |
tree | e64bb6833d8f5f2159fbd91bf9b47e3489ecccef /src/backend/utils/adt/json.c | |
parent | 3cffe7946c268be91a340ec9a27081cb93d67d35 (diff) | |
download | postgresql-7926a9a80f6daf0fcc1feb1bee5c51fd001bc173.tar.gz postgresql-7926a9a80f6daf0fcc1feb1bee5c51fd001bc173.zip |
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
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions