From: | tushar <tushar(dot)ahuja(at)enterprisedb(dot)com> |
---|---|
To: | 曾文旌 <wenjing(dot)zwj(at)alibaba-inc(dot)com>, Prabhat Sahu <prabhat(dot)sahu(at)enterprisedb(dot)com> |
Cc: | 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-27 10:06:24 |
Message-ID: | c94b24c5-9c3d-0cb8-fd9e-731961f0a24c@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 3/27/20 10:55 AM, 曾文旌 wrote:
>> Hi Wenjing,
>> This patch(gtt_v21_pg13.patch) is not applicable on PG HEAD, I hope
>> you have prepared the patch on top of some previous commit.
>> Could you please rebase the patch which we can apply on HEAD ?
> Yes, It looks like the built-in functions are in conflict with new code.
>
In this below scenario, pg_dump is failing -
test=# CREATE database foo;
CREATE DATABASE
test=# \c foo
You are now connected to database "foo" as user "tushar".
foo=# CREATE GLOBAL TEMPORARY TABLE bar(c1 bigint, c2 bigserial) on
commit PRESERVE rows;
CREATE TABLE
foo=# \q
[tushar(at)localhost bin]$ ./pg_dump -Fp foo > /tmp/rf2
pg_dump: error: query to get data of sequence "bar_c2_seq" returned 0
rows (expected 1)
[tushar(at)localhost bin]$
--
regards,tushar
EnterpriseDB https://www.enterprisedb.com/
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Haozhou Wang | 2020-03-27 10:22:09 | Re: Control your disk usage in PG: Introduction to Disk Quota Extension |
Previous Message | Julien Rouhaud | 2020-03-27 10:00:01 | Re: Planning counters in pg_stat_statements (using pgss_store) |