Re: DB migration from Win (cygwin) to Linux (RH 7.2): 9223372036854775807 error
В списке pgsql-general по дате отправления:
| От | Shridhar Daithankar |
|---|---|
| Тема | Re: DB migration from Win (cygwin) to Linux (RH 7.2): 9223372036854775807 error |
| Дата | |
| Msg-id | 3DCAD3BA.8873.55491F4@localhost обсуждение исходный текст |
| Ответ на | DB migration from Win (cygwin) to Linux (RH 7.2): 9223372036854775807 error (aagha@bigfoot.com (aagha@bigfoot.com)) |
| Список | pgsql-general |
On 1 Nov 2002 at 8:33, aagha@bigfoot.com wrote: > I'm having an issue moving my DB from from Win (Cygwin) to Linux 7.2. If > I go from Linux to Cygwin, no probs, everything works fine, creates a new > database beautifully. > > However, if I take the exact same DB (which contains data) and try the > following on Linux: > > %> psql -d cmsdb -f cmsdb.sql > > I get the following: > > psql:cmsdb.sql:12: ERROR: parser: parse error at or near > "9223372036854775807" Is that last field in that line? You are running into \r\n problem. Try some simple scripts or dos2unix etc to convert the dump to unix style. There was a sed one liner posted on the list few days back.. Bye Shridhar -- Williams and Holland's Law: If enough data is collected, anything may be proven by statistical methods.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера