postgresql添加系统表报错
1.添加系统表后,执行make install报如下错误,未自动生成下面两个文件
cp: cannot stat ‘./catalog/ux_user_status_d_compatible.h’: No such file or directory
cp: cannot stat ‘./catalog/ux_user_status_d.h’: No such file or directory
原因和解决方法:
1.1 下面括号中的内容不能有空格,即在6103前面、UserStatusRelationId前面不能有空格
将CATALOG(ux_user_status, 6103, UserStatusRelationId)
修改为CATALOG(ux_user_status,6103,UserStatusRelationId)