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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 940311e) | patch
tableam: Use in CREATE TABLE AS and CREATE MATERIALIZED VIEW.
2019年3月25日 01:55:34 +0000 (18:55 -0700)
2019年3月25日 01:58:37 +0000 (18:58 -0700)
commit 919e48b943014b1d4ab5d83e48dbc9f8e87e7be4
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/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
src/backend/commands/createas.c diff | blob | blame | history
src/backend/commands/matview.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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