提交 0140612c 编写于 作者: O Omer Arap

Fix gpsd to account newly added column to pg_statistic

Recent postgres merge introduced a new column `stainherit` to
`pg_statistic` table. When `gpsd` dumps the pg_statistic not only a
column is missing but also all the other columns are shifted and saved
in wrong column index. This causes failure on reloading the gpsd.

This commit fixes the issue and adds the missing column.
上级 fa3ec7b2
......@@ -90,6 +90,7 @@ def dumpStats(cur):
'INSERT INTO pg_statistic VALUES (\n' \
'{2});\n\n'
types = ['smallint', # staattnum
'boolean',
'real',
'integer',
'real',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册