diff options
author | Andres Freund | 2019-03-25 01:55:34 +0000 |
---|---|---|
committer | Andres Freund | 2019-03-25 01:58:37 +0000 |
commit | 919e48b943014b1d4ab5d83e48dbc9f8e87e7be4 (patch) | |
tree | 165263705cd2f2590d02fc5a48d8e57cae78e786 /src/backend/executor/nodeModifyTable.c | |
parent | 940311e4bb32a5fe99155052e41179c88b5d48af (diff) |
tableam: Use in CREATE TABLE AS and CREATE MATERIALIZED VIEW.
Previously those directly performed a heap_insert(). Use
table_insert() instead. The input slot of those routines is not of
the target relation - we could fix that by copying if necessary, but
that'd not be beneficial for performance. As those codepaths don't
access any AM specific tuple fields (say xmin/xmax), there's no need
to use an AM specific slot.
Author: Andres Freund
Reviewed-By: Haribabu Kommi
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions