> 2020年3月9日 下午9:34,tushar <tushar.ahuja@enterprisedb.com> 写道:
>
> 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
regulartable
>
> --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
This is a bug ,I fixed.
Wenjing
> postgres=#
>
> --
> regards,tushar
> EnterpriseDB https://www.enterprisedb.com/
> The Enterprise PostgreSQL Company