[postgis-users] database backup?

Nicolas RIBOT nri at scot.cnes.fr
Wed Oct 29 00:49:56 PST 2003


> This approach seems to work fine and gives me a working 
> database. Yet, during 
> the import process (psql ...), I receive multiple errors 
> mainly something 
> like 'psql:<stdin>:261037: invalid command \N'. And in the 
> dump file the line 
> 251037 is just '.\'. Any idea what this is or does?
> 

I had a similar error caused by newline termination in my sql file: it
was generated on Windows, with CrLf characters for the end of line, and
ran on Linux, where Lf is the new line termination.
Converting the file to the unix format solved this error message

Nicolas



More information about the postgis-users mailing list