NOTICE: table "cf_executor_test" does not exist, skipping
create table cf_executor_test (a integer);
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.
insert into cf_executor_test select a from generate_series(1,100) a;
set log_min_messages=debug5;
--end_ignore
set debug_print_slice_table=on;
select count(*) from cf_executor_test;
count
-------
100
(1 row)
--FOR UPDATE/FOR SHARE
select * from cf_executor_test order by a limit 1 for update;
a
---
1
(1 row)
select * from cf_executor_test order by a limit 1 for share;
a
---
1
(1 row)
--returning clause
insert into cf_executor_test values (1) returning *;
ERROR: The RETURNING clause of the INSERT statement is not supported in this version of Greenplum Database.
--start_ignore
drop table cf_executor_test;
create table cf_executor_test (a integer);
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.
insert into cf_executor_test select a from generate_series(1,5) a;