[Proposal] Global temporary tables

Started by 曾文旌(义从)about 6 years ago10 messageshackers
Jump to latest
#1曾文旌(义从)
wenjing.zwj@alibaba-inc.com

This is the latest patch for feature GTT(v38).
Everybody, if you have any questions, please let me know.

Wenjing

Attachments:

global_temporary_table_v38-pg14.patchapplication/octet-stream; name=global_temporary_table_v38-pg14.patch; x-unix-mode=0644Download+4862-182
smime.p7sapplication/pkcs7-signature; name=smime.p7sDownload
#2Pavel Stehule
pavel.stehule@gmail.com
In reply to: 曾文旌(义从) (#1)
Re: [Proposal] Global temporary tables

Hi

čt 26. 11. 2020 v 12:46 odesílatel 曾文旌 <wenjing.zwj@alibaba-inc.com> napsal:

This is the latest patch for feature GTT(v38).
Everybody, if you have any questions, please let me know.

please, co you send a rebased patch. It is broken again

Regards

Pavel

Show quoted text

Wenjing

#3曾文旌(义从)
wenjing.zwj@alibaba-inc.com
In reply to: Pavel Stehule (#2)
Re: [Proposal] Global temporary tables

2020年12月8日 13:28,Pavel Stehule <pavel.stehule@gmail.com> 写道:

Hi

čt 26. 11. 2020 v 12:46 odesílatel 曾文旌 <wenjing.zwj@alibaba-inc.com <mailto:wenjing.zwj@alibaba-inc.com>> napsal:
This is the latest patch for feature GTT(v38).
Everybody, if you have any questions, please let me know.

please, co you send a rebased patch. It is broken again

Sure

This patch is base on 16c302f51235eaec05a1f85a11c1df04ef3a6785
Simplify code for getting a unicode codepoint's canonical class.

Wenjing

Show quoted text

Regards

Pavel

Wenjing

Attachments:

global_temporary_table_v39-pg14.patchapplication/octet-stream; name=global_temporary_table_v39-pg14.patch; x-unix-mode=0644Download+4862-182
smime.p7sapplication/pkcs7-signature; name=smime.p7sDownload
#4Pavel Stehule
pavel.stehule@gmail.com
In reply to: 曾文旌(义从) (#3)
Re: [Proposal] Global temporary tables

st 9. 12. 2020 v 7:34 odesílatel 曾文旌 <wenjing.zwj@alibaba-inc.com> napsal:

2020年12月8日 13:28,Pavel Stehule <pavel.stehule@gmail.com> 写道:

Hi

čt 26. 11. 2020 v 12:46 odesílatel 曾文旌 <wenjing.zwj@alibaba-inc.com>
napsal:

This is the latest patch for feature GTT(v38).
Everybody, if you have any questions, please let me know.

please, co you send a rebased patch. It is broken again

Sure

This patch is base on 16c302f51235eaec05a1f85a11c1df04ef3a6785
Simplify code for getting a unicode codepoint's canonical class.

Thank you

Pavel

Show quoted text

Wenjing

Regards

Pavel

Wenjing

#5wenjing
wjzeng2012@gmail.com
In reply to: Pavel Stehule (#4)
Re: [Proposal] Global temporary tables

HI all

I added comments and refactored part of the implementation in Storage_gtt.c.
I hope this will help Reviewer.

Wenjing

Show quoted text

2020年12月9日 17:07,Pavel Stehule <pavel.stehule@gmail.com> 写道:

st 9. 12. 2020 v 7:34 odesílatel 曾文旌 <wenjing.zwj@alibaba-inc.com <mailto:wenjing.zwj@alibaba-inc.com>> napsal:

2020年12月8日 13:28,Pavel Stehule <pavel.stehule@gmail.com <mailto:pavel.stehule@gmail.com>> 写道:

Hi

čt 26. 11. 2020 v 12:46 odesílatel 曾文旌 <wenjing.zwj@alibaba-inc.com <mailto:wenjing.zwj@alibaba-inc.com>> napsal:
This is the latest patch for feature GTT(v38).
Everybody, if you have any questions, please let me know.

please, co you send a rebased patch. It is broken again

Sure

This patch is base on 16c302f51235eaec05a1f85a11c1df04ef3a6785
Simplify code for getting a unicode codepoint's canonical class.

Thank you

Pavel

Wenjing

Regards

Pavel

Wenjing

Attachments:

global_temporary_table_v40-pg14.patchapplication/octet-stream; name=global_temporary_table_v40-pg14.patch; x-unix-mode=0644Download+5002-182
#6wenjing
wjzeng2012@gmail.com
In reply to: wenjing (#5)
Re: [Proposal] Global temporary tables

HI all

I rebased patch, fix OID conflicts, fix some comments.
Code updates to v41.

Wenjing

Attachments:

global_temporary_table_v41-pg14.patchapplication/octet-stream; name=global_temporary_table_v41-pg14.patchDownload+5003-182
#7Pavel Stehule
pavel.stehule@gmail.com
In reply to: wenjing (#6)
Re: [Proposal] Global temporary tables

Hi

út 22. 12. 2020 v 4:20 odesílatel wenjing <wjzeng2012@gmail.com> napsal:

HI all

I rebased patch, fix OID conflicts, fix some comments.
Code updates to v41.

Please, can you do rebase?

Regards

Pavel

Show quoted text

Wenjing

#8wenjing
wjzeng2012@gmail.com
In reply to: Pavel Stehule (#7)
Re: [Proposal] Global temporary tables

Pavel Stehule <pavel.stehule@gmail.com> 于2021年1月26日周二 上午2:03写道:

Hi

út 22. 12. 2020 v 4:20 odesílatel wenjing <wjzeng2012@gmail.com> napsal:

HI all

I rebased patch, fix OID conflicts, fix some comments.
Code updates to v41.

Please, can you do rebase?

Regards

Pavel

Wenjing

Sure.

This patch(V42) is base on aa6e46daf5304e8d9e66fefc1a5bd77622ec6402

Wenjing

Attachments:

t43301_8
global_temporary_table_v42-pg14.patchapplication/octet-stream; name=global_temporary_table_v42-pg14.patchDownload+5003-182
#9Alexandre Arruda
adaldeia@gmail.com
In reply to: wenjing (#8)
Re: [Proposal] Global temporary tables

Hi,

Trying to apply the last patch (global_temporary_table_v42-pg14.patch) to the code cloned from github, ending with this error:

usr/bin/ld: catalog/storage_gtt.o: in function `up_gtt_relstats':
storage_gtt.c:(.text+0x1276): undefined reference to `ReadNewTransactionId'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:66: postgres] Error 1
make[2]: Leaving directory '/root/downloads/postgres/src/backend'
make[1]: *** [Makefile:42: all-backend-recurse] Error 2
make[1]: Leaving directory '/root/downloads/postgres/src'
make: *** [GNUmakefile:11: all-src-recurse] Error 2

Anyway, what's the next step to see this very important feature included in v14 ?

Best regards,
Alexandre

#10Alexandre Arruda
adaldeia@gmail.com
In reply to: Alexandre Arruda (#9)
Re: [Proposal] Global temporary tables

Sorry, I don't have checkout the hash codebase for the patch.
Compiled OK now.

Best regards