From: | Prabhat Sahu <prabhat(dot)sahu(at)enterprisedb(dot)com> |
---|---|
To: | 曾文旌 <wenjing(dot)zwj(at)alibaba-inc(dot)com> |
Cc: | tushar <tushar(dot)ahuja(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-04-01 03:47:18 |
Message-ID: | CANEvxPp1f1vN3ht6Bww=3yqGi46hUPVaiv8WWZwVMvWvGacVHg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Apr 1, 2020 at 8:52 AM 曾文旌 <wenjing(dot)zwj(at)alibaba-inc(dot)com> wrote:
>
>
> 2020年3月31日 下午9:59,Prabhat Sahu <prabhat(dot)sahu(at)enterprisedb(dot)com> 写道:
>
> Hi Wenjing,
> Thanks for the new patch.
> I saw with the patch(gtt_v23.patch), we are supporting the new concept
> "global temporary sequence"(i.e. session-specific sequence), is this
> intentional?
>
> It was supported in earlier versions,
>
yes.
This causes the sequence built into the GTT to automatically become a
> "global temp sequence",
> Such as create global temp table (a serial);
> Like GTT, the global temp sequnce is used individually for each session.
>
> Recently, I added the global temp sequence syntax so that it can be
> created independently.
> The purpose of this is to enable such sequence built into the GTT to
> support pg_dump and pg_restore.
>
Thanks for the explanation.
--
With Regards,
Prabhat Kumar Sahu
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | movead.li@highgo.ca | 2020-04-01 03:59:39 | Re: A bug when use get_bit() function for a long bytea string |
Previous Message | David Rowley | 2020-04-01 03:38:42 | Re: [PATCH] Keeps tracking the uniqueness with UniqueKey |