pgsql: Small refactoring around ExecCreateTableAs().

2024-08-02 Thread Jeff Davis
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.

pgsql: Small refactoring

2018-03-23 Thread Peter Eisentraut
Small refactoring Put the "atomic" argument of ExecuteDoStmt() and ExecuteCallStmt() into a variable instead of repeating the formula. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/52f3a9d6a32c0c070a15486c3aecbc4405d2da88 Modified Files -- src/backend