Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件无法和checksum一起用: ERROR: invalid segment number 0 in file "zhparser_dict_template1.tag" #77

Open
junfx opened this issue May 26, 2023 · 1 comment

Comments

@junfx
Copy link

junfx commented May 26, 2023

initdb -k启用checksum后, pg_checksum.c里面有逻辑检查datadir/base中文件名; zhparser会把.tag, .txt文件放在datadir/base中;
pg_basebackup可以触发(重现)这个问题:

initdb -k -D primary # 端口5432
pg_basebackup -h localhost -p 5432 -D standby_dir
@junfx junfx changed the title 无法启用checksum: ERROR: invalid segment number 0 in file "zhparser_dict_template1.tag" 插件无法和checksum一起用: ERROR: invalid segment number 0 in file "zhparser_dict_template1.tag" May 26, 2023
@zlianzhuang
Copy link
Collaborator

是的,目前会这样,你必须要用checksum么? 如果要用的话,我可以发布个版本,处理下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants