pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexey Alexeev <gldragon@yandex.ru>
To: pgsql-bugs@postgresql.org
Subject: psql.exe error near '^'
Date: Thu, 24 Dec 2015 21:40:59 +0300
Message-ID: <567C3C3B.4090507@yandex.ru> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Здравствуйте!

При выполнении следующей команды
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



-- 
             Замечательного настроения и легкого дня! Алексей Алексеев



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <567C3C3B.4090507@yandex.ru>
Permalink:  ../567C3C3B.4090507@yandex.ru/
Also on:    postgresql.org/message-id/567C3C3B.4090507@yandex.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: gldragon@yandex.ru
  Subject: Re: psql.exe error near '^'
  In-Reply-To: <567C3C3B.4090507@yandex.ru>
  References: <567C3C3B.4090507@yandex.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox