Re: [Proposal] Global temporary tables

From: Ming Li <mli(at)apache(dot)org>
To: wenjing(at)gmail(dot)com
Cc: Dilip Kumar <dilipbalaut(at)gmail(dot)com>, shawn wang <shawn(dot)wang(dot)pg(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, 曾文旌 <wenjing(dot)zwj(at)alibaba-inc(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Prabhat Sahu <prabhat(dot)sahu(at)enterprisedb(dot)com>, tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Proposal] Global temporary tables
Date: 2021-07-14 02:56:00
Message-ID: CAN+wdvhquCm7dm2x7EKmF6JNi46X+A87enWG+rWUyUnTnAxGPA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Wenjing,

Some suggestions may help:

1) It seems that no test case covers the below scenario: 2 sessions attach
the same gtt, and insert/update/select concurrently. It is better to use
the test framework in src/test/isolation like the code changes in
https://commitfest.postgresql.org/24/2233/.

2) CREATE GLOBAL TEMP SEQUENCE also need to be supported
in src/bin/psql/tab-complete.c

On Wed, Jul 14, 2021 at 10:36 AM wenjing <wjzeng2012(at)gmail(dot)com> wrote:

> Rebase code based on the latest version.
>
> Regards,
> wenjing
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2021-07-14 03:07:25 [PATCH] psql: \dn+ to show size of each schema..
Previous Message Michael Paquier 2021-07-14 02:17:55 Re: Introduce pg_receivewal gzip compression tests