Re: [Proposal] Global temporary tables

Wenjing Zeng <wjzeng2012@gmail.com>

From: wenjing zeng <wjzeng2012@gmail.com>
To: Andrew Bille <andrewbille@gmail.com>
Cc: Andrew Bille <andrewbille@gmail.com>, Pavel Stehule <pavel.stehule@gmail.com>, Tony Zhu <Tony.zhu@ww-it.cn>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, wenjing <wenjing@gmail.com>
Date: 2021-12-20T12:42:21Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. PageAddItemExtended(): Add LP_UNUSED assertion.

  2. Remove temporary files after backend crash

  3. Fix comment in indexing.c

  4. Fix failure to ignore leftover temp tables after a server crash.

Post GTT v63 to fixed conflicts with the latest code.



Hi Andrew

Have you found any new bugs recently?



Wenjing




> 2021年11月20日 01:31,wenjing <wjzeng2012@gmail.com> 写道:
> 
> 
> 
> Andrew Bille <andrewbille@gmail.com <mailto:andrewbille@gmail.com>> 于2021年11月15日周一 下午6:34写道:
> Thanks for the patches. The feature has become much more stable.
> However, there is another simple case that generates an error: 
> Master with v61 patches
> 
> CREATE GLOBAL TEMPORARY TABLE t AS SELECT 1 AS a;
> ERROR:  could not open file "base/13560/t3_16384": No such file or directory
> Thank you for pointing out that this part is not reasonable enough.
> This issue has been fixed in v62.
> Looking forward to your reply.
> 
> 
> Wenjing
> 
>  
> Andrew
> 
> On Thu, Nov 11, 2021 at 3:15 PM wenjing <wjzeng2012@gmail.com <mailto:wjzeng2012@gmail.com>> wrote:
> Fixed a bug in function pg_gtt_attached_pid.
> Looking forward to your reply.
> 
> 
> Wenjing
> 
> 
> 
>  
> <0001-gtt-v62-reademe.patch><0004-gtt-v62-regress.patch><0002-gtt-v62-doc.patch><0003-gtt-v62-implementation.patch>