我有一个Postgresql转储文件,我正在尝试恢复。我猜这个关于无效数据的错误。
错误:整数的输入语法无效:“。”
当我检查文件时,有这样的数据:
469215 2009-10-10 18:16:47.041377 0 1
471217 2009-10-10 18:25:12.536352 0 1
473224 2009-10-17 09:46:43.041604 0 1
473228 2009-10-22 10:58:40.194244 0 1
.
所以我想知道这是什么“。”做? 我检查一些其他工作转储,他们用“。”结束他们的数据行。我猜这是正确的语法!
请告诉我正确的语法是什么,它有什么作用? 谢谢
答案 0 :(得分:1)
似乎它标志着COPY声明的结束
End of data can be represented by a single line containing just backslash-period (\.).
An end-of-data marker is not necessary when reading from a file, since the end of file
serves perfectly well; it is needed only when copying data to or from client
applications using pre-3.0 client protocol.