一款PostgreSQL WAL日志解析工具: wal2json
原作者:钟硕 创作时间:2019-04-10 09:33:03+08
|
redraiment 发布于2019-04-10 09:33:03
评论: 3
浏览: 16425
顶: 814
踩: 730
|
评论:
请在登录后发表评论,否则无法保存。
1# __
longten 回答于 2019-11-12 20:14:09+08
你好 有没有在 centos上安装过 尝试安装的过程中出现 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -shared -o decoderbufs.so src/decoderbufs.o src/proto/pg_logicaldec.pb-c.o -L/usr/pgsql-11/lib -Wl,--as-needed -L/usr/lib64/llvm5.0/lib -L/usr/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/pgsql-11/lib',--enable-new-dtags -L/usr/local/lib -lprotobuf-c -L/usr/local/lib -llwgeom
/usr/bin/ld: 找不到 -llwgeom
collect2: 错误:ld 返回 1
make: *** [decoderbufs.so] 错误 1
是出现在 postgres-decoderbufs 的编译过程中
2# __
silencecxq 回答于 2019-08-06 12:19:32+08
您好,麻烦问一下,我安装完成以后执行pg_recvlogical -d test --slot test_slot --start -o pretty-print=1 -f -
输出有乱码,这个是什么原因呢,输出如下:
`ϋ¬public.test_table *
iB
id1 *
codB
code1 :
character(10):
character(10) ᒸpublic.test_table *
iB
id1 *
codB
code2 :
character(10):
character(10) �¬public.test_table 2
iB
id1 2
code
`
3# __
silencecxq 回答于 2019-08-06 12:19:23+08
您好,麻烦问一下,我安装完成以后执行pg_recvlogical -d test --slot test_slot --start -o pretty-print=1 -f -
输出有乱码,这个是什么原因呢,输出如下:
`ϋ¬public.test_table *
iB
id1 *
codB
code1 :
character(10):
character(10) ᒸpublic.test_table *
iB
id1 *
codB
code2 :
character(10):
character(10) �¬public.test_table 2
iB
id1 2
code
`
发表评论:
加入我们
QQ群1:5276420
QQ群2:3336901
QQ群3:254622631
文档群:150657323
商业支持
扫码关注
加入我们
QQ群1:5276420
QQ群2:3336901
QQ群3:254622631
文档群:150657323
商业支持
扫码关注
© PostgreSQL中文社区 ... (自2010年起)