Thread: psql.exe error near '^'
ÐдÑавÑÑвÑйÑе! ÐÑи вÑполнении ÑледÑÑÑей ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ psql.exe --dbname=MYDB --host=localhost --port=5432 --username=myuser --file=sql_try.sql --quiet --log-file=sql_try.log --output=sql_try.rslt --no-align --field-separator=^ Ðаже не ÑпÑоÑив паÑÐ¾Ð»Ñ Ð¿Ð¾Ð´ÐºÐ»ÑÑÐµÐ½Ð¸Ñ Ðº ÐРпÑоÑеÑÑ Ð·Ð°Ð²Ð¸ÑÐ°ÐµÑ Ð½Ð°Ð¼ÐµÑÑво.РпеÑвÑй Ñаз ÑÑо ÑовÑем повеÑило компÑÑÑÐµÑ - пÑиÑлоÑÑ Ñ Ð¾Ð»Ð¾Ð´Ð½ÑÑ Ð¿ÐµÑезагÑÑÐ·ÐºÑ Ð´ÐµÐ»Ð°ÑÑ. ÐÑоÑой Ñаз - ÑÑпел оÑÑÑÑелиÑÑ Ð¿ÑоÑеÑÑ Ð¸Ð· диÑпеÑÑеÑа задаÑ. ÐÑоблема именно в "--field-separator=^" ÐÑли напиÑаÑÑ --field-separator=| или --field-separator="^" вÑе ÑабоÑÐ°ÐµÑ Ð¿ÑавилÑно. ÐС: Windows 7 pro SP1 x64 C:\>psql --version psql (PostgreSQL) 9.4.0 -- ÐамеÑаÑелÑного наÑÑÑÐ¾ÐµÐ½Ð¸Ñ Ð¸ легкого днÑ! ÐлекÑей ÐлекÑеев
MjAxNS0xMi0yNCAxOTo0MCBHTVQrMDE6MDAgQWxleGV5IEFsZXhlZXYgPGdsZHJhZ29uQHlhbmRl eC5ydT46DQoNCj4g0JfQtNGA0LDQstGB0YLQstGD0LnRgtC1IQ0KPg0KPiDQn9GA0Lgg0LLRi9C/ 0L7Qu9C90LXQvdC40Lgg0YHQu9C10LTRg9GO0YnQtdC5INC60L7QvNCw0L3QtNGLDQo+IHBzcWwu ZXhlIC0tZGJuYW1lPU1ZREIgLS1ob3N0PWxvY2FsaG9zdC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