Skip to content
Advertisement

What’s “.” in postgresql dump file?

I have a Postgresql dump file which i’m trying to restore. I get this error regarding an invalid data i guess.

ERROR: invalid input syntax for integer: “.”

and when i checked the file, there are data like this:

so i was wondering what is this “.” do? i check some other working dumps and they ended their data line with “.” which i guess it’s the correct syntax!

Please tell me what’s the correct syntax and what does it do? thank you

Advertisement

Answer

Seems that it marks the end of a COPY statement

From the documentation

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement