From: | 曾文旌(义从) <wenjing(dot)zwj(at)alibaba-inc(dot)com> |
---|---|
To: | tushar <tushar(dot)ahuja(at)enterprisedb(dot)com> |
Cc: | "Prabhat Sahu" <prabhat(dot)sahu(at)enterprisedb(dot)com>, "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Tomas Vondra" <tomas(dot)vondra(at)2ndquadrant(dot)com>, "Konstantin Knizhnik" <k(dot)knizhnik(at)postgrespro(dot)ru>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>, 蔡松露(子嘉) <zijia(at)taobao(dot)com>, Cai, Le <le(dot)cai(at)alibaba-inc(dot)com>, 萧少聪(铁庵) <shaocong(dot)xsc(at)alibaba-inc(dot)com> |
Subject: | Re: [Proposal] Global temporary tables |
Date: | 2020-03-09 16:29:58 |
Message-ID: | 65CBE32D-379E-4EEE-9B73-F8AB55AF2E86@alibaba-inc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> 2020年3月9日 下午9:34,tushar <tushar(dot)ahuja(at)enterprisedb(dot)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 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
This is a bug ,I fixed.
Wenjing
Attachment | Content-Type | Size |
---|---|---|
global_temporary_table_v18-pg13.patch | application/octet-stream | 167.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | 曾文旌 (义从) | 2020-03-09 16:31:58 | Re: [Proposal] Global temporary tables |
Previous Message | 曾文旌 (义从) | 2020-03-09 16:28:12 | Re: [Proposal] Global temporary tables |