提交 40938f5e 编写于 作者: H Heikki Linnakangas 提交者: Xin Zhang

Remove test on aborting distributed transaction that did CREATE TABLESPACE.

CREATE TABLESPACE isn't transactional. Rolling it back doesn't work
properly. This is a known limitation in PostgreSQL, we'll live with it.
上级 d722b206
CREATE TABLESPACE abort_ts1 filespace LOCATION '/tmp/twophase_create_tablespace_test_ts';
CREATE TABLESPACE
create table ct_ts_test(a int, b int) tablespace abort_ts1;
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Greenplum Database data distribution key for this table.
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
CREATE TABLE
insert into ct_ts_test select i,i+1 from generate_series(1,1000)i;
INSERT 0 1000
drop table ct_ts_test;
DROP TABLE
DROP TABLESPACE abort_ts1;
DROP TABLESPACE
CREATE TABLESPACE abort_ts1 LOCATION '/tmp/twophase_create_tablespace_test_ts';
create table ct_ts_test(a int, b int) tablespace abort_ts1;
insert into ct_ts_test select i,i+1 from generate_series(1,1000)i;
drop table ct_ts_test;
DROP TABLESPACE abort_ts1;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册