On 3/6/20 12:35 PM, 曾文旌(义从) wrote:
Fixed in global_temporary_table_v17-pg13.patch

Thanks Wenjing.

Please refer this scenario , where i am able to set 'on_commit_delete_rows=true'  on regular table using 'alter' Syntax  which is not allowed using 'Create' Syntax

--Expected -

postgres=# CREATE TABLE foo () WITH (on_commit_delete_rows='true');
ERROR:  The parameter on_commit_delete_rows is exclusive to the global temp table, which cannot be specified by a regular table

--But user can do this with 'alter' command -
postgres=# create table foo();
CREATE TABLE
postgres=# alter table foo set (on_commit_delete_rows='true');
ALTER TABLE
postgres=#

--
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company



Reply via email to